CVE-2024-9606
LiteLLM Reveals Portion of API Key via a Logging File
7.5
HIGH
CVSS 3.1
EPSS 0.21%
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.
How to fix CVE-2024-9606
To remediate CVE-2024-9606, upgrade the affected package to a fixed version below.
- —upgrade to 1.44.12 or later
Is CVE-2024-9606 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1.44.12
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |