CVE-2024-6587: SSRF in berriai/litellm

Published Sep 13, 2024
·
Updated

A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. This vulnerability allows users to specify the apibase parameter when making requests to POST /chat/completions, causing the application to send the request to the domain specified by apibase. This request includes the OpenAI API key. A malicious user can set the apibase to their own domain and intercept the OpenAI API key, leading to unauthorized access and potential misuse of the API key.

Affected Software

2 affected componentsFixes available
pip/litellm<1.44.8
1.44.8
LiteLLM LiteLLM=1.38.10

Event History

Sep 13, 2024
CVE Published
via MITRE·03:59 PM
Data Sourced
via MITRE·03:59 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:31 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-6587?

The severity of CVE-2024-6587 is categorized as high due to its potential for Server-Side Request Forgery (SSRF).

2

How do I fix CVE-2024-6587?

To fix CVE-2024-6587, upgrade litellm to version 1.44.8 or later.

3

What versions of litellm are affected by CVE-2024-6587?

CVE-2024-6587 affects litellm version 1.38.10 specifically.

4

What is a Server-Side Request Forgery (SSRF) vulnerability in relation to CVE-2024-6587?

In the context of CVE-2024-6587, SSRF allows users to manipulate the api_base parameter, potentially leading to unauthorized requests to internal services.

5

Is CVE-2024-6587 reversible once it is exploited?

Exploitation of CVE-2024-6587 can expose sensitive data or internal endpoints, and whether it is reversible depends on specific incident responses and mitigations applied.

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