PyPi: Litellm

CVE-2024-6587

Safety vulnerability ID: 73303

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 13, 2024 Updated at Nov 22, 2024
Scan your Python projects for vulnerabilities →

Advisory

A Server-Side Request Forgery (SSRF) vulnerability affects berriai/litellm affected versions, including the proxy authentication module. Attackers can exploit this vulnerability by manipulating the api_base or base_url parameters in request bodies sent to POST /chat/completions. This allows malicious users to redirect API calls to attacker-controlled domains, intercepting sensitive information such as OpenAI API keys. The vulnerability enables unauthorized access and potential misuse of the intercepted API keys. The patch implements strict input validation, rejecting requests containing these dangerous parameters.

Affected package

litellm

Latest version: 1.52.14

Library to easily interface with LLM API providers

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE