CVE-2025-1752 Denial of Service in run-llama/llama_index
HighCVSS 7.5
EPSS 0.85%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| llamaindex | < 0.3.6 | 0.3.6 | Fixed |
| pypi llama-index(PyPI) | = 0.12.15; = 0.12.16; = 0.12.17; = 0.12.18 +3 more | 0.12.21 | Fixed |
| run-llama/llama_index | < 0.3.6 | 0.3.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi llama-index(PyPI) | >= 0.12.15, < 0.12.21 | 0.12.21 |
| pypi llama-index(PyPI) | = 0.12.15 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.16 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.17 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.18 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.19 | No fix listed |
| pypi llama-index(PyPI) | = 0.12.20 | No fix listed |
| run-llama/llama_index | < 0.3.6 | 0.3.6 |
| llamaindex | < 0.3.6 | 0.3.6 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- huntr.com exploit third-party-advisory
- pypi.org product
- github.com vendor-advisory