GitHub Advisoryadvisory · PyPI

GHSA-8j42-pcfm-3467 SQL injection in litellm

MEDIUM Published 2024-06-06 Modified 2024-06-06 Official page ↗
Aliases
CVE-2024-4890
Ecosystem
PyPI
Packages
litellm
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-89
Reviewed
2024-06-06

Affected packages

• PyPI litellm: <= 1.27.14 (no fix yet)

Description

A blind SQL injection vulnerability exists in the berriai/litellm application, specifically within the '/team/update' process. The vulnerability arises due to the improper handling of the 'user_id' parameter in the raw SQL query used for deleting users. An attacker can exploit this vulnerability by injecting malicious SQL commands through the 'user_id' parameter, leading to potential unauthorized access to sensitive information such as API keys, user information, and tokens stored in the database. The affected version is 1.27.14.

Related

Alias · CVE (1)

  • CVE-2024-4890 A blind SQL injection vulnerability exists in the berriai/litellm application, specifically within the '/team/update' process. vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References