GHSA-7c85-87cp-mr6g

Suggest an improvement
Source
https://github.com/advisories/GHSA-7c85-87cp-mr6g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-7c85-87cp-mr6g/GHSA-7c85-87cp-mr6g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7c85-87cp-mr6g
Aliases
Published
2025-05-10T15:30:28Z
Modified
2026-07-07T17:56:51Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
LlamaIndex Vulnerable to Denial of Service (DoS)
Details

A Denial of Service (DoS) vulnerability has been identified in the KnowledgeBaseWebReader class of the run-llama/llama_index project, affecting version ~ latest(v0.12.15). The vulnerability arises due to inappropriate secure coding measures, specifically the lack of proper implementation of the max_depth parameter in the get_article_urls function. This allows an attacker to exhaust Python's recursion limit through repeated function calls, leading to resource consumption and ultimately crashing the Python process.

Database specific
{
    "cwe_ids": [
        "CWE-400",
        "CWE-674"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-12T20:16:19Z",
    "nvd_published_at": "2025-05-10T14:15:32Z",
    "severity": "HIGH"
}
References

Affected packages

PyPI / llama-index

Package

Name
llama-index
View open source insights on deps.dev
Purl
pkg:pypi/llama-index

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.12.15
Fixed
0.12.21

Affected versions

0.*
0.12.15
0.12.16
0.12.17
0.12.18
0.12.19
0.12.20

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-7c85-87cp-mr6g/GHSA-7c85-87cp-mr6g.json"