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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-5219The Easy Google Maps plugin for WordPress is vulnerable to S…5.4
- CVE-2024-5220The ND Shortcodes plugin for WordPress is vulnerable to Stor…5.4
- CVE-2024-5221The Qi Blocks plugin for WordPress is vulnerable to Stored C…5.4
- CVE-2024-5222The Responsive Addons – Starter Templates, Advanced Features…5.4
- CVE-2024-5223The Post Grid Gutenberg Blocks and WordPress Blog Plugin – P…6.4
- CVE-2024-5224The Easy Social Like Box – Popup – Sidebar Widget plugin for…5.4
- CVE-2024-5226The Fuse Social Floating Sidebar plugin for WordPress is vul…5.4
- CVE-2024-52268Cross-site scripting vulnerability exists in VK All in One E…4.8
- CVE-2024-52269User Interface (UI) Misrepresentation of Critical Informatio…8.2
- CVE-2024-5227TP-Link Omada ER605 PPTP VPN username Command Injection Remo…7.5
- CVE-2024-52270User Interface (UI) Misrepresentation of Critical Informatio…8.2
- CVE-2024-52271User Interface (UI) Misrepresentation of Critical Informatio…8.2
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
