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

Published Mar 20, 2025
·
Updated

In berriai/litellm before version 1.44.12, the litellm/litellmcoreutils/litellmlogging.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.

Affected Software

3 affected componentsFixes available
pip/litellm<1.44.12
1.44.12
BerriAI LiteLLM<1.44.12
LiteLLM LiteLLM<1.44.12

Event History

Mar 20, 2025
CVE Published
via MITRE·10:09 AM
Data Sourced
via MITRE·10:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:32 PM
Data Sourced
via GitHub·12:32 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-9606?

CVE-2024-9606 is classified as a vulnerability that poses a security risk due to potential exposure of sensitive API keys.

2

How do I fix CVE-2024-9606?

To fix CVE-2024-9606, upgrade to version 1.44.12 or later of the BerriAI litellm software.

3

What does CVE-2024-9606 affect?

CVE-2024-9606 affects versions of BerriAI litellm prior to 1.44.12.

4

What is the cause of CVE-2024-9606?

The cause of CVE-2024-9606 is improper masking of API keys in logs, where only the first five characters are masked.

5

Who is the vendor for CVE-2024-9606?

The vendor for CVE-2024-9606 is BerriAI, the creator of the litellm software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203