CVE-2024-9606
Improper Output Neutralization for Logs in berriai/litellm
- State
- Published
- Severity
- 7.5 High
- Published
- Mar 20, 2025
- Updated
- Mar 20, 2025
- Reserved
- Oct 7, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 7.5 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | @huntr_ai |
Weaknesses
- CWE-117 Improper Output Neutralization for Logs
Affected Products
| Product | Versions |
|---|---|
berriai/litellmberriai |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.