Affected versions
Version ranges need review.
PyPIllama-index
- Affected versions
- >= 0.12.15, < 0.12.21
- Fixed version
- 0.12.21
PyPIllama-index
- Affected versions
- >=0.12.15 <0.12.21 || =0.12.15 || =0.12.16 || =0.12.17 || =0.12.18 || =0.12.19 || =0.12.20
- Fixed version
- 0.12.21
Exploitation
Description
A Denial of Service (DoS) vulnerability has been identified in the KnowledgeBaseWebReader class of the run-llama/llama_index project, affecting version ~ latest(v0.12.15). The vulnerability arises due to inappropriate secure coding measures, specifically the lack of proper implementation of the max_depth parameter in the get_article_urls function. This allows an attacker to exhaust Python's recursion limit through repeated function calls, leading to resource consumption and ultimately crashing the Python process.
Links
- https://github.com/advisories/GHSA-7c85-87cp-mr6g
- https://github.com/run-llama/llama_index
- https://github.com/run-llama/llama_index/commit/3c65db2947271de3bd1927dc66a044da385de4da
- https://huntr.com/bounties/cd7b9082-7d75-42e4-84f5-dbee23cbc467
- https://nvd.nist.gov/vuln/detail/CVE-2025-1752
- https://pypi.org/project/llama-index

