CVE-2024-6587: SSRF in berriai/litellm
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
Remediation
Event History
Frequently Asked Questions
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).
How do I fix CVE-2024-6587?
To fix CVE-2024-6587, upgrade litellm to version 1.44.8 or later.
What versions of litellm are affected by CVE-2024-6587?
CVE-2024-6587 affects litellm version 1.38.10 specifically.
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.
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.