CVE-2024-6587: berriai berriai/litellm Server-Side Request Forgery (SSRF)
Vulnerability summary
CVE-2024-6587 is a high (CVSS 7.5) Server-Side Request Forgery (SSRF) vulnerability in berriai berriai/litellm. EPSS estimates a 35.32% chance of exploitation in the next 30 days, higher than 98.4% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 13-09-2024PublishedVulnerability first disclosed.
- 13-09-2024Last modifiedVulnerability information updated.
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. This vulnerability allows users to specify the `api_base` parameter when making requests to `POST /chat/completions`, causing the application to send the request to the domain specified by `api_base`. This request includes the OpenAI API key. A malicious user can set the `api_base` to their own domain and intercept the OpenAI API key, leading to unauthorized access and potential misuse of the API key.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
35.32%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
0.00 pp
From 35.32% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Berriai1 product
- berriai/litellm≥ unspecified, < 1.44.9
Litellm1 product
- litellm1.38.10
PyPI1 product
- litellm< 1.44.8
3 vendors · 3 products
References
6 links- github.com/berriai/litellmPACKAGE
- pypi.org/project/litellmPACKAGE