CVE-2024-9606

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

History

07 Apr 2025, 14:50

Type Values Removed Values Added
CPE cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
References () https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a - () https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a - Patch
References () https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a - () https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a - Exploit, Third Party Advisory
CWE CWE-116
Summary
  • (es) En berriai/litellm anteriores a la versión 1.44.12, el archivo `litellm/litellm_core_utils/litellm_logging.py` contiene una vulnerabilidad donde el código de enmascaramiento de la clave API solo enmascara los primeros 5 caracteres de la clave. Esto provoca la filtración de casi toda la clave API en los registros, exponiendo una cantidad significativa de la clave secreta. El problema afecta a la versión v1.44.9.
First Time Litellm
Litellm litellm

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-04-07 14:50


NVD link : CVE-2024-9606

Mitre link : CVE-2024-9606

CVE.ORG link : CVE-2024-9606


JSON object : View

Products Affected

litellm

  • litellm
CWE
CWE-117

Improper Output Neutralization for Logs

CWE-116

Improper Encoding or Escaping of Output