Lucene search

K
githubGitHub Advisory DatabaseGHSA-G26J-5385-HHW3
HistorySep 13, 2024 - 6:31 p.m.

LiteLLM Server-Side Request Forgery (SSRF) vulnerability

2024-09-1318:31:47
CWE-918
GitHub Advisory Database
github.com
9
litellm
ssrf
vulnerability
server-side
unauthorized access
openai api

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

6.7

Confidence

High

EPSS

0.001

Percentile

19.0%

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 configurations

Vulners
Node
litellmRange<1.44.8
VendorProductVersionCPE
*litellm*cpe:2.3:a:*:litellm:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

AI Score

6.7

Confidence

High

EPSS

0.001

Percentile

19.0%

Related for GHSA-G26J-5385-HHW3