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.

References

https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a

https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a

Details

Source: Mitre, NVD

Published: 2025-03-20

Updated: 2025-04-07

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 7.5

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

Severity: High

EPSS

EPSS: 0.00032