MEDIUM5.9
PYSEC-2025-11
Quick fix
PYSEC-2025-11 — llama-index: upgrade to the fixed version with the command below.
pip install --upgrade 'llama-index>=159ce485a1168100bb219dc1b93133f1121579d9'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/llama-index
Introduced in:
0Fixed in: 159ce485a1168100bb219dc1b93133f1121579d9Fix
pip install --upgrade 'llama-index>=159ce485a1168100bb219dc1b93133f1121579d9'