{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.solr:solr-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-12401 in the wild and no public exploit code.","fix":"Upgrade org.apache.solr:solr-core to 5.0.0 or later.","what":"CVE-2019-12401 is a high-severity denial of service vulnerability in Apache Solr, published on 10 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-12401 and fix it if it is affected.\n\nWhat it is: CVE-2019-12401 is a high-severity denial of service vulnerability in Apache Solr, published on 10 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-12401 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.solr:solr-core (Maven): affected all versions; fixed in 5.0.0\n- org.apache.solr:solr-core (Maven): affected all versions; fixed in 5.0.0\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-2019-12401/ (Markdown: https://insights.sbomify.com/CVE-2019-12401/index.md)","id":"CVE-2019-12401","markdown":"https://insights.sbomify.com/CVE-2019-12401/index.md","name":"CVE-2019-12401","record":{"aliases":["GHSA-jq2w-w7v2-69q5"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Solr","requires_auth":"none","summary":"Attackers can cause denial of service in Apache Solr by sending malicious XML payloads that trigger excessive resource consumption during parsing.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"solr","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"description":"Solr versions 1.3.0 to 1.4.1, 3.1.0 to 3.6.2 and 4.0.0 to 4.10.4 are vulnerable to an XML resource consumption attack (a.k.a. Lol Bomb) via it’s update handler.?By leveraging XML DOCTYPE and ENTITY type elements, the attacker can create a pattern that will expand when the server parses the XML causing OOMs.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-02-12","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-02-12T17:31:05Z","kind":"github_poc","ref":"https://github.com/mbadanoiu/CVE-2019-12401","stars":0,"title":"CVE-2019-12401: XML Bomb in Apache Solr"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apache Solr vulnerable to XML Bomb","id":"CVE-2019-12401","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2019"},"n_packages":2,"n_references":11,"next":{"headline":"Denial of Service in Apache Commons Compress","id":"CVE-2019-12402"},"packages":[{"ecosystem":"Maven","fixed":["5.0.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":null,"source":"GHSA-jq2w-w7v2-69q5"},{"ecosystem":"Maven","fixed":["5.0.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.solr:solr-core","purl":"pkg:maven/org.apache.solr/solr-core","source":"GHSA-jq2w-w7v2-69q5"}],"prev":{"headline":"Improper input validation in Apache Santuario XML Security for Java","id":"CVE-2019-12400"},"products":["Solr"],"published":"2019-09-10","related":[{"cvss_score":7.5,"headline":"Apache Solr VelocityResponseWriter Plug-In Remote Code Execution","id":"CVE-2019-17558","kev_date_added":"2021-11-03","published":"2019-12-30"},{"cvss_score":7.2,"headline":"Apache Solr DataImportHandler Code Injection","id":"CVE-2019-0193","kev_date_added":"2021-12-10","published":"2019-08-01"},{"cvss_score":9.8,"headline":"Apache Solr: Authentication bypass possible using a fake URL Path ending","id":"CVE-2024-45216","kev_date_added":null,"published":"2024-10-16"},{"cvss_score":9.8,"headline":"Apache Solr information disclosure vulnerability through DataImportHandler","id":"CVE-2021-44548","kev_date_added":null,"published":"2021-12-23"},{"cvss_score":9.8,"headline":"SSRF vulnerability with the Replication handler","id":"CVE-2021-27905","kev_date_added":null,"published":"2021-04-13"},{"cvss_score":9.8,"headline":"Incorrect Authorization in Apache Solr","id":"CVE-2020-13957","kev_date_added":null,"published":"2020-10-13"},{"cvss_score":9.8,"headline":"Unrestricted upload of file with dangerous type in Apache Solr","id":"CVE-2019-12409","kev_date_added":null,"published":"2019-11-18"}],"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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache"]},"summary":"Attackers can cause denial of service in Apache Solr by sending malicious XML payloads that trigger excessive resource consumption during parsing.","url":"https://insights.sbomify.com/CVE-2019-12401/"}