CVE-2024-9606
High
Description
In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerability where the API key masking code only masks the first 5 characters of the key. This results in the leakage of almost the entire API key in the logs, exposing a significant amount of the secret key. The issue affects version v1.44.9.
SeverityHigh
CVSS7.5
Exploit probability—
ProductLitellm
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-117CWE-117
How to fix
Update
- litellm litellm1.44.12 or later
- litellm1.44.12 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| litellm litellm | v < 1.44.12 | 1.44.12 |
| litellmPyPI | v < 1.44.12 | 1.44.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.