{"answers":{"affected":"3 open source packages ship an affected version, including llama-index. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12910 exists.","fix":"Upgrade llama-index to 0.12.9 or later.","what":"CVE-2024-12910 is a medium-severity denial of service vulnerability in run-llama/llama_index, published on 20 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-12910 and fix it if it is affected.\n\nWhat it is: CVE-2024-12910 is a medium-severity denial of service vulnerability in run-llama/llama_index, published on 20 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12910 exists.\n\nAffected packages and fixed versions:\n- llama-index (PyPI): affected all versions; fixed in 0.12.9\n- llama-index (PyPI): affected all versions; fixed in 0.12.9\n- llama-index (PyPI): affected all versions; fixed in 0.12.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-12910/ (Markdown: https://insights.sbomify.com/CVE-2024-12910/index.md)","id":"CVE-2024-12910","markdown":"https://insights.sbomify.com/CVE-2024-12910/index.md","name":"CVE-2024-12910","record":{"aliases":["GHSA-jvpf-xf32-2w4q","PYSEC-2025-11"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python LLM library","requires_auth":"none","summary":"An attacker can cause a denial of service in the llama_index library by triggering infinite recursion via a crafted URL in the KnowledgeBaseWebReader class.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"llamaindex","vendor":"llamaindex"}],"cvss":{"score":4.2,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Denial of Service in run-llama/llama_index","id":"CVE-2024-12910","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"SQL Injection in run-llama/llama_index","id":"CVE-2024-12911"},"packages":[{"ecosystem":"PyPI","fixed":["0.12.9"],"introduced":["0"],"last_affected":[],"package":"llama-index","purl":null,"source":"GHSA-jvpf-xf32-2w4q"},{"ecosystem":"PyPI","fixed":["0.12.9"],"introduced":["0"],"last_affected":[],"package":"llama-index","purl":"pkg:pypi/llama-index","source":"GHSA-jvpf-xf32-2w4q"},{"ecosystem":"PyPI","fixed":["0.12.9"],"introduced":["0"],"last_affected":[],"package":"llama-index","purl":"pkg:pypi/llama-index","source":"PYSEC-2025-11"}],"prev":{"headline":"SQL Injection to RCE in run-llama/llama_index","id":"CVE-2024-12909"},"products":["run-llama/llama_index"],"published":"2025-03-20","related":[{"cvss_score":10,"headline":"SQL Injection to RCE in run-llama/llama_index","id":"CVE-2024-12909","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":9.8,"headline":"SQL Injection in run-llama/llama_index","id":"CVE-2025-1793","kev_date_added":null,"published":"2025-06-05"},{"cvss_score":9.8,"headline":"SQL Injection in run-llama/llama_index","id":"CVE-2025-1750","kev_date_added":null,"published":"2025-06-02"},{"cvss_score":9.8,"headline":"SQL Injection in run-llama/llama_index","id":"CVE-2024-11958","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":9.8,"headline":"Command Injection in run-llama/llama_index","id":"CVE-2024-3271","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":9.8,"headline":"SQL injection in llama-index","id":"CVE-2024-23751","kev_date_added":null,"published":"2024-01-22"},{"cvss_score":8.8,"headline":"LlamaIndex includes an exec call for `import {cls_name}`","id":"CVE-2024-45201","kev_date_added":null,"published":"2024-08-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["run-llama"]},"summary":"An attacker can cause a denial of service in the llama_index library by triggering infinite recursion via a crafted URL in the KnowledgeBaseWebReader class.","url":"https://insights.sbomify.com/CVE-2024-12910/"}