CriticalVulnerabilityLLM-specific
GHSA-gppg-gqw8-wh9g: litellm vulnerable to remote code execution based on using eval unsafely
- Identifiers
- CVE-2024-5751GHSA-gppg-gqw8-wh9g
- Published
- Record updated
- Affected
- litellm < 1.40.16
- Fixed in
- 1.40.16
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.9%
Summary
BerriAI/litellm version v1.35.8 contains a flaw that allows remote code execution. The `add_deployment` function decodes and decrypts base64 environment variables and assigns them to `os.environ`, and an attacker can send a malicious payload to the `/config/update` endpoint, which the server processes and executes when `get_secret` is triggered. Exploitation requires the server to use Google KMS and a database to store a model.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- litellmPyPILLM dependency since 2023-07-27 · 55 tracked dependents
Related items
- MediumARTEX and beyond: AI-enabled penetration testing platformsSimilar attack · Cisco Talos Blog
- InfoHow AI is changing the nature of cyberattacksSimilar attack · CSO Online
- MediumInside the loop: Five AI attack frameworks that never ask permissionSimilar attack · Elastic Security Labs
- MediumARTEX: Attackers Adopted This AI Pentesting Tool in Three Months. Leaked Secrets Are Its Fastest Way In.Similar attack · StepSecurity Blog
- MediumFBI Says North Korean Hackers Stole Over $400 Million in Crypto Using Deepfake Video CallsSimilar attack · The Hacker News