XML Entity Expansion vulnerability in run-llama/llama_index
run-llama/llama_index
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| llama-index-readers-papers PyPI |
|
|
| llama-index PyPI |
|
|
run-llama/llama_index
| Product | Affected | Fixed in |
|---|---|---|
| llama-index-readers-papers PyPI |
|
|
| llama-index PyPI |
|
|
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.
From the CVE record · @huntr_ai
The sitemap parser is vulnerable to XML entity expansion. An attacker who can supply a malicious Sitemap XML can exhaust system memory and potentially crash the system. The input does not specify whether authentication or user interaction is required.
Check installations of PyPI llama-index versions >=0.12.21 and <0.12.29, and llama-index-readers-papers versions <0.3.2.