CVE-2024-9606

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLitellm
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-117CWE-117

How to fix

Update
  • litellm litellm1.44.12 or later
  • litellm1.44.12 or later

Affected products

ProductAffected versionsFixed in
litellm litellmv < 1.44.121.44.12
litellmPyPIv < 1.44.121.44.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-9606 · Litellm · Dark Radar