Browse / AI Framework and Platform Flaws / CVE-2024-12910
LlamaIndex Uncontrolled Resource Consumption vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- llama-index (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.7% chance of exploitation in 30 days
How it works, in short
A URL pointing at a site root makes the web reader recurse endlessly through article links, exhausting memory and crashing the application. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-12910
- https://github.com/run-llama/llama_index/commit/159ce485a1168100bb219dc1b93133f1121579d9
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-11.yaml
- https://github.com/run-llama/llama_index
- https://huntr.com/bounties/27883f22-35ff-49df-aaa5-05031c7d6ad8
Source: GitHub Advisory Database, used under CC BY 4.0.