logo

CVE-2024-9606 litellm

Package

Manager: pip
Name: litellm
Vulnerable Version: >=0 <1.44.12

Severity

Level: High

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00048 pctl0.14372

Details

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.

Metadata

Created: 2025-03-20T12:32:51Z
Modified: 2025-03-20T21:02:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-g5pg-73fc-hjwq/GHSA-g5pg-73fc-hjwq.json
CWE IDs: ["CWE-117"]
Alternative ID: GHSA-g5pg-73fc-hjwq
Finding: F091
Auto approve: 1