CVE-2024-6825
Remote Code Execution in BerriAI/litellm
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 1.53.4 | litellm · -106 d desde divulgación | |
| Divulgación | Publicada | CVE-2024-6825 divulgada · CVSS 8.8 (CNA) | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. The provided value is split at the final '.' mark, with the last part considered the function name and the remaining part appended with the '.py' extension and imported. This allows an attacker to set a system method, such as 'os.system', as a callback, enabling the execution of arbitrary commands when a chat response is processed.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypilitellm |
Corregida | 1.53.4 | -106 d | 1.109.1 no afectada |
1.53.4v1.65.4.dev6Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://huntr.com/bounties/1d98bebb-6cf4-46c9-87c3-d3b1972973b5https://github.com/berriai/litellm/commit/441c7275ed2715f47650a7c2e525055c804073a9Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
