CVE-2024-12910
LlamaIndex vulnerability analysis and mitigation

Overview

A vulnerability has been identified in the KnowledgeBaseWebReader class of the run-llama/llama_index repository (latest version) that allows attackers to cause a Denial of Service (DoS) condition. The vulnerability was disclosed on March 20, 2025, and is tracked as CVE-2024-12910 (NVD).

Technical details

The vulnerability exists in the get_article_urls method of the KnowledgeBaseWebReader class. When an attacker controls a URL variable to contain the root URL, it triggers infinite recursive calls to the get_article_urls method, leading to system resource exhaustion. The vulnerability has been assigned a CVSS v3.0 base score of 4.2 (Medium) with the vector string CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD, Huntr).

Impact

The successful exploitation of this vulnerability results in a Denial of Service condition by exhausting system resources through infinite recursive calls, potentially leading to application crashes (NVD).

Mitigation and workarounds

A fix has been implemented by adding a maxdepth parameter to prevent infinite recursion in the getarticleurls method. The patch is available in the repository commit 159ce485a1168100bb219dc1b93133f1121579d9 ([Github Commit](https://github.com/run-llama/llamaindex/commit/159ce485a1168100bb219dc1b93133f1121579d9)).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management