HighVulnerabilityLLM-specific
GHSA-g5pg-73fc-hjwq: LiteLLM Reveals Portion of API Key via a Logging File
- Identifiers
- CVE-2024-9606GHSA-g5pg-73fc-hjwq
- Published
- Record updated
- Affected
- litellm < 1.44.12
- Fixed in
- 1.44.12
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
In berriai/litellm before version 1.44.12, the API key masking code in litellm/litellm_core_utils/litellm_logging.py masks only the first 5 characters of a key. As a result, almost the entire API key appears in the logs. The issue affects version v1.44.9.
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
- InfoArguShield: Enforcing Minimum-Necessary Disclosure in Tool-Calling LLM AgentsSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- InfoBeyond Single-Turn Privacy: Training-Data Leakage in Conversational RAGSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- LowSignal Blocks AI Agents From Reading Private Chats via Screenshots on Android and iOSSimilar attack · The Hacker News
- LowSignal is blocking Gemini and Siri AI from reading your screenSimilar attack · The Verge (AI)
- MediumWhen Shuffling Fails: Token Recovery from Obfuscated KV CachesSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)