Vulnerability in Berriai Berriai/litellm
CVE-2024-9606
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 56.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Berriai Berriai/litellm — versions unspecified
- Litellm
Weakness classification (CWE)
References
- huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a (Exploit, Third Party Advisory)
- github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a (Patch)