llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · litellm

GHSA-H6M6-JJ8V-94JJ

SQL injection in litellm

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión1.40.0
Exposición897 dDesde la divulgación, 6 jun 2024, 4:30 p. m.
Detección893 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Monitoreo
Detectada
6 jun 24
10 sept 26
17 nov 26
21 nov 26
6 jun 24
17 ene 25
29 ago 25
10 abr 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-H6M6-JJ8V-94JJ divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

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.

Versiones

Rangos afectados

Afectada Corregida Última
litellm< 1.40.0
1.40.0
1.109.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilitellm
Corregida 1.40.0 — 1.109.1 no afectada
Versiones corregidas1.40.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-5225
Otrahttps://github.com/BerriAI/litellm/pull/3940
Otrahttps://github.com/BerriAI/litellm/commit/f75c15d6cd535aa78014378ad532de1df6be2f56
Otrahttps://github.com/BerriAI/litellm
Otrahttps://huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5c

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.