CVE-2024-6587

published 13 Sep 2024 · updated 13 Sep 2024

SSRF in berriai/litellm

9.0CriticalCVSS 7.5EPSS 34%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 34%. Fixed in berriai/litellm 1.44.9.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
BerriAIberriai/litellm<1.44.91.44.9

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in BerriAI, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-6587 severity on Zeptric[![CVE-2024-6587](https://zeptric.io/badge/cve/CVE-2024-6587.svg)](https://zeptric.io/cve/CVE-2024-6587)