CVE-2024-5225
Last modified
CVE-2024-5225 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` endpoint. The vulnerability arises due to improper neutralization of special elements used in an SQL command. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` endpoint. The vulnerability arises due to improper neutralization of special elements used in an SQL command. The affected code constructs an SQL query by concatenating an unvalidated `api_key` parameter directly into the query, making it susceptible to SQL Injection if the `api_key` contains malicious data. This issue affects the latest version of the repository. Successful exploitation of this vulnerability could lead to unauthorized access, data manipulation, exposure of confidential information, and denial of service (DoS).
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Litellm | Litellm | <= 1.40.2 |
References
- https://huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5cExploit, Third Party Advisory
- https://huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5cExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-5225?
How severe is CVE-2024-5225?
How do I fix CVE-2024-5225?
Are you affected by CVE-2024-5225?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
