LiteLLM Reveals Portion of API Key via a Logging File
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-9606US | high7.5 | — | ||
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 c… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/BerriAI/litellmPACKAGE
- https://github.com/advisories/GHSA-g5pg-73fc-hjwqADVISORY
- https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509aWEB
- https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223aWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-9606ADVISORY
- https://pypi.org/project/litellmPACKAGE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan