We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-5225

SQL Injection in berriai/litellm



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

Reserved 2024-05-22 | Published 2024-06-06 | Updated 2024-08-01 | Assigner @huntr_ai


MEDIUM: 6.4CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Problem types

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

Product status

Any version
affected

References

huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5c

cve.org (CVE-2024-5225)

nvd.nist.gov (CVE-2024-5225)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-5225

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.