
Cloud Vulnerability DB
A community-led vulnerabilities database
An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the /global/spend/logs endpoint. The vulnerability was discovered and disclosed on June 6, 2024, affecting the latest version of the repository up to version 1.40.2. The vulnerability stems from improper neutralization of special elements used in an SQL command, where the code constructs an SQL query by concatenating an unvalidated api_key parameter directly into the query (NVD).
The vulnerability is classified as CWE-89 (SQL Injection) with a CVSS v3.1 base score of 7.2 (HIGH) according to NVD's assessment, with a vector string of CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The vulnerability occurs when the application processes the api_key parameter in the /global/spend/logs endpoint without proper input validation or sanitization (NVD).
Successful exploitation of this vulnerability could lead to unauthorized access, data manipulation, exposure of confidential information, and denial of service (DoS). The high severity rating indicates significant potential impact on the system's confidentiality, integrity, and availability (NVD).
The vulnerability requires high privileges but low attack complexity, with no user interaction needed for exploitation. The attack vector is network-accessible, making it possible to exploit remotely (NVD).
The vulnerability affects versions up to and including 1.40.2 of the litellm package. Users should update to a patched version when available and implement proper input validation for the api_key parameter (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."