7.5High

CVE-2024-9606Improper Output Neutralization for Logs in berriai/litellm

berriai berriai/litellm Published: (1 year ago)

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.

Weakness (CWE): CWE-117CWE-116

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
berriai berriai/litellm unspecified – < 1.44.12
litellm litellm < 1.44.12

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* < 1.44.12