GHSA-H6M6-JJ8V-94JJ
SQL injection in litellm
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-H6M6-JJ8V-94JJ divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
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).
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypilitellm |
Corregida | 1.40.0 | — | 1.109.1 no afectada |
1.40.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2024-5225https://github.com/BerriAI/litellm/pull/3940https://github.com/BerriAI/litellm/commit/f75c15d6cd535aa78014378ad532de1df6be2f56https://github.com/BerriAI/litellmhttps://huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5cLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
