PyPi: Litellm

CVE-2024-4889

Safety vulnerability ID: 71720

This vulnerability was reviewed by experts

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

Created at Jun 06, 2024 Updated at Nov 22, 2024
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of berriai/litellm contain a Code Injection vulnerability (CWE-94) in the secret management system when using Google KMS. Attackers could potentially execute arbitrary code by manipulating environment variables, exploiting the use of eval() on unvalidated input. This vulnerability has been addressed by replacing eval() with a secure client.decrypt() method for handling encrypted data.

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.2

CVSS v3 Details

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