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


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (18th percentile)

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-10117807
  • published13 May 2025
  • disclosed10 May 2025
  • creditsiriusbellatrix

Introduced: 10 May 2025

NewCVE-2025-1752  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to Uncontrolled Recursion due to improper handling of the max_depth parameter in the get_article_urls function. An attacker can exhaust system resources and crash the application through repeated function calls, ultimately exceeding Python's recursion limit.

CVSS Base Scores

version 4.0
version 3.1