Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. llama-index
  4. ›
  5. CVE-2024-12910

CVE-2024-12910: LlamaIndex Uncontrolled Resource Consumption vulnerability

March 20, 2025 (updated April 2, 2025)

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.

References

  • github.com/advisories/GHSA-jvpf-xf32-2w4q
  • github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-11.yaml
  • github.com/run-llama/llama_index
  • github.com/run-llama/llama_index/commit/159ce485a1168100bb219dc1b93133f1121579d9
  • huntr.com/bounties/27883f22-35ff-49df-aaa5-05031c7d6ad8
  • nvd.nist.gov/vuln/detail/CVE-2024-12910

Code Behaviors & Features

Detect and mitigate CVE-2024-12910 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.12.9

Fixed versions

  • 0.12.9

Solution

Upgrade to version 0.12.9 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/llama-index/CVE-2024-12910.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.