Description
An XML Entity Expansion vulnerability, also known as a 'billion laughs' attack, exists in the sitemap parser of the run-llama/llama_index repository, specifically affecting version v0.12.21. This vulnerability allows an attacker to supply a malicious Sitemap XML, leading to a Denial of Service (DoS) by exhausting system memory and potentially causing a system crash. The issue is resolved in version v0.12.29.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| run-llama | run-llama/llama_index | unspecified – < v0.12.29 | v0.12.29 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | llama-index | >= 0.12.21, < 0.12.29 | 0.12.29 | PYSEC-2025-250 |
| PyPI | llama-index-readers-papers | < 0.3.2 | 0.3.2 | GHSA-w42r-mrx7-c633 |