Uncontrolled Recursion Affecting llama-index-readers-web package, versions [,0.3.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-LLAMAINDEXREADERSWEB-9510943
  • published23 Mar 2025
  • disclosed20 Mar 2025
  • creditlife-team2024

Introduced: 20 Mar 2025

NewCVE-2024-12910  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade llama-index-readers-web to version 0.3.3 or higher.

Overview

llama-index-readers-web is a llama-index readers web integration

Affected versions of this package are vulnerable to Uncontrolled Recursion via the KnowledgeBaseWebReader class's get_article_urls() function. An attacker can trigger a crash by supplying a URL to an object containing an href reference to the root directory, causing infinite recursive traversal. E.g. <a class="article-link" href="/">

CVSS Base Scores

version 4.0
version 3.1