CVE-2024-9606 Details
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.
A vulnerability has been identified in the Berriai Litellm project, specifically in version 1.44.9, within the logging component. The issue arises because the API key masking functionality only obscures the first five characters of the key, leading to the exposure of nearly the entire API key in the logs. This flaw allows a significant portion of the secret key to be leaked.
Users can update to Berriai Litellm version 1.44.12 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a | [email protected] | Patch |
| https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-116 | Improper Encoding or Escaping of Output | [email protected] |
| CWE-117 | Improper Output Neutralization for Logs | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| litellm litellm | < 1.44.12 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 7, 2025 | Initial Analysis | [email protected] |
| Mar 20, 2025 | New CVE Received | [email protected] |