medium5.9
CVE-2024-12910
LlamaIndex Uncontrolled Resource Consumption vulnerability
Impact
A vulnerability in the `KnowledgeBaseWebReader` class of the run-llama/llama_index repository, version latest, allows an attacker to cause a Denial of Service (DoS) by controlling a URL variable to contain the root URL. This leads to infinite recursive calls to the `get_article_urls` method, exhausting system resources and potentially crashing the application.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | llama-index | < 0.12.9 | 0.12.9 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Llamaindex | Llamaindex | before 0.12.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/run-llama/llama_index/commit/159ce485a1168100bb219dc1b93133f1121579d9
- https://huntr.com/bounties/27883f22-35ff-49df-aaa5-05031c7d6ad8
- https://github.com/advisories/GHSA-jvpf-xf32-2w4q
- https://nvd.nist.gov/vuln/detail/CVE-2024-12910
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-11.yaml