SQL injection in litellm
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).
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | litellm | < 1.40.0 | 1.40.0 |
Odnośniki
- https://nvd.nist.gov/vuln/detail/CVE-2024-5225
- https://github.com/BerriAI/litellm/pull/3940
- https://github.com/BerriAI/litellm/commit/f75c15d6cd535aa78014378ad532de1df6be2f56
- https://github.com/BerriAI/litellm
- https://huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5c
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-h6m6-jj8v-94jj
- Wektor CVSS
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N- Słabość (CWE)
CWE-89- Platforma
- Python (PyPI)
- Paczka
litellm- Ujawniono
- 06.06.2024
- Aktualizacja
- 11.10.2026 15:17
Źródła i licencje
OSV / GitHub Advisory Database - PYSEC-2026-1550 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-h6m6-jj8v-94jj - CC BY 4.0
Historia podatności: litellm
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 42
- Pierwsza → ostatnia
- 04.2024 09.2026
- Bez poprawki
- 14
- Wykorzystywana w atakach
- 3
Rozkład istotności
- Krytyczna 7
- Wysoka 17
- Średnia 8
- Niska 9
- Nieoceniona 1
Ujawnienia w latach
- 2024: 8
- 2025: 6
- 2026: 28
-
SQL injection in litellm ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.