litellm
Affected
- introduced
0, fixed1.44.12(ecosystem)
Fixed versions
1.44.12
Fix
- Fixed version
1.44.12pip install --upgrade litellm==1.44.12
Advisory
Also known as: CVE-2024-9606, GHSA-g5pg-73fc-hjwq
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.
High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
0, fixed 1.44.12 (ecosystem)1.44.12
1.44.12pip install --upgrade litellm==1.44.12Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0