THREATINT

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.

Fathom (Privacy friendly web analytics)
Zendesk (Helpdesk and Chat)

Ok

Home | EN
Support
CVE
PUBLISHED

CVE-2024-5225

SQL Injection in berriai/litellm

Assigner@huntr_ai
Reserved2024-05-22
Published2024-06-06
Updated2024-06-06

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



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

https://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
© Copyright 2024 THREATINT. Made in Cyprus with +