SSRF in Berriai Berriai/litellm

CVE-2024-6587

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS 0.344, 98.4th percentile (scored ); down from 0.353 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-6587: fell from 0.353 to 0.344.

EPSS over last 30 days · oldest: 0.353 · newest: 0.344 · change: -0.009

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, lambdasawa/_lambdasawa, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References