ghsa-g26j-5385-hhw3
Vulnerability from github
Published
2024-09-13 18:31
Modified
2024-09-13 19:29
Severity ?
7.5 (High) - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
8.7 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
LiteLLM Server-Side Request Forgery (SSRF) vulnerability
Details
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "litellm" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.44.8" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-6587" ], "database_specific": { "cwe_ids": [ "CWE-918" ], "github_reviewed": true, "github_reviewed_at": "2024-09-13T19:29:08Z", "nvd_published_at": "2024-09-13T16:15:04Z", "severity": "HIGH" }, "details": "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.", "id": "GHSA-g26j-5385-hhw3", "modified": "2024-09-13T19:29:08Z", "published": "2024-09-13T18:31:47Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-6587" }, { "type": "WEB", "url": "https://github.com/berriai/litellm/commit/ba1912afd1b19e38d3704bb156adf887f91ae1e0" }, { "type": "PACKAGE", "url": "https://github.com/berriai/litellm" }, { "type": "WEB", "url": "https://huntr.com/bounties/4001e1a2-7b7a-4776-a3ae-e6692ec3d997" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "LiteLLM Server-Side Request Forgery (SSRF) vulnerability" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.