CVE Catalog

CVE-2024-9606

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.77%

57th percentile - higher than 57% of all known CVEs

Summary

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. This leaks almost the entire API key in the logs. The issue affects version v1.44.9.

Risk Assessment

Anyone with access to the logs can recover API keys and use them for unauthorized access to external services.

Recommendation

Update litellm to version 1.44.12 or later and revoke and regenerate any API keys that may have leaked in logs.

Other vulnerabilities in litellm

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS