CVE-2024-12704
Denial of Service (DoS) in run-llama/llama_index
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 0.12.6 | llama-index-core · -93 d desde divulgación | |
| Divulgación | Publicada | CVE-2024-12704 divulgada · CVSS 7.5 (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 |
A vulnerability in the LangChainLLM class of the run-llama/llama_index repository, version v0.12.5, allows for a Denial of Service (DoS) attack. The stream_complete method executes the llm using a thread and retrieves the result via the get_response_gen method of the StreamingGeneratorCallbackHandler class. If the thread terminates abnormally before the _llm.predict is executed, there is no exception handling for this case, leading to an infinite loop in the get_response_gen function. This can be triggered by providing an input of an incorrect type, causing the thread to terminate and the process to continue running indefinitely.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypillama-index-core |
Corregida | 0.12.6 | -93 d | 0.14.26 no afectada |
pypillama-index |
Corregida | 0.12.6 | -92 d | 0.14.26 no afectada |
0.12.6Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://huntr.com/bounties/a0b638fd-21c6-4ba7-b381-6ab98472a02ahttps://github.com/run-llama/llama_index/commit/d1ecfb77578d089cbe66728f18f635c09aa32a05Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
