CVE-2024-12704Llamaindex
Alta 7.5 Sin autenticación
Seguir: esta CVE · Llamaindex · Llamaindex Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.0
- 7.5
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 56
- Requiere autenticación
- No
- Publicada
- 20 mar 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-835
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Llamaindex.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | llama-index |
≤ 0.12.5 |
sin versión corregida | — |
| PyPI | llama-index-core |
< 0.12.6 |
0.12.6 |
pip install "llama-index-core>=0.12.6" |
| PyPI | llama-index-core |
< 0.12.6 |
0.12.6 |
pip install "llama-index-core>=0.12.6" |
Según OSV / GitHub Advisories (PYSEC-2025-244, GHSA-j3wr-m6xh-64hg, PYSEC-2026-1563). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| llamaindex | llamaindex | 0.12.5 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- huntr.com Exploit Third Party Advisory