CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-9606: Improper Output Neutralization for Logs in berriai/litellm

7.5 CVSS

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.

Classification

CVE ID: CVE-2024-9606

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types

CWE-117 Improper Output Neutralization for Logs

Affected Products

Vendor: berriai

Product: berriai/litellm

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 11.11% (scored less or equal to compared to others)

EPSS Date: 2025-04-18 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-9606
https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a
https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a

Timeline