{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.poi:poi and org.apache.poi:poi-scratchpad. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-0213 in the wild and no public exploit code.","fix":"Upgrade org.apache.poi:poi to 3.10-beta1 or later.","what":"CVE-2012-0213 is a medium-severity denial of service vulnerability in n/a, published on 7 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2012-0213 and fix it if it is affected.\n\nWhat it is: CVE-2012-0213 is a medium-severity denial of service vulnerability in n/a, published on 7 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2012-0213 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.poi:poi (Maven): affected all versions; fixed in 3.10-beta1\n- org.apache.poi:poi (Maven): affected all versions; fixed in 3.10-beta1\n- org.apache.poi:poi-scratchpad (Maven): affected all versions; fixed in 3.10-beta1\n- org.apache.poi:poi-scratchpad (Maven): affected all versions; fixed in 3.10-beta1\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-2012-0213/ (Markdown: https://insights.sbomify.com/CVE-2012-0213/index.md)","id":"CVE-2012-0213","markdown":"https://insights.sbomify.com/CVE-2012-0213/index.md","name":"CVE-2012-0213","record":{"aliases":["DSA-2468-1","GHSA-jqx5-h2hw-5q4f"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java document library","requires_auth":"none","summary":"Remote attackers can cause denial of service in applications using Apache POI by sending crafted CDF or CFBF documents with malicious length values.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"poi","vendor":"apache"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","version":"2.0"},"cwes":[{"id":"CWE-399","name":null}],"description":"The UnhandledDataStructure function in hwpf/model/UnhandledDataStructure.java in Apache POI 3.8 and earlier allows remote attackers to cause a denial of service (OutOfMemoryError exception and possibly JVM destabilization) via a crafted length value in a Channel Definition Format (CDF) or Compound File Binary Format (CFBF) document.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of Service in Apache POI","id":"CVE-2012-0213","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2012"},"n_packages":4,"n_references":10,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2012-0214"},"packages":[{"ecosystem":"Maven","fixed":["3.10-beta1"],"introduced":["0"],"last_affected":[],"package":"org.apache.poi:poi","purl":null,"source":"GHSA-jqx5-h2hw-5q4f"},{"ecosystem":"Maven","fixed":["3.10-beta1"],"introduced":["0"],"last_affected":[],"package":"org.apache.poi:poi","purl":"pkg:maven/org.apache.poi/poi","source":"GHSA-jqx5-h2hw-5q4f"},{"ecosystem":"Maven","fixed":["3.10-beta1"],"introduced":["0"],"last_affected":[],"package":"org.apache.poi:poi-scratchpad","purl":null,"source":"GHSA-jqx5-h2hw-5q4f"},{"ecosystem":"Maven","fixed":["3.10-beta1"],"introduced":["0"],"last_affected":[],"package":"org.apache.poi:poi-scratchpad","purl":"pkg:maven/org.apache.poi/poi-scratchpad","source":"GHSA-jqx5-h2hw-5q4f"}],"prev":{"headline":"Command injection in n/a","id":"CVE-2012-0212"},"products":["n/a"],"published":"2012-08-07","related":[{"cvss_score":7.5,"headline":"Denial of Service in Apache POI","id":"CVE-2017-12626","kev_date_added":null,"published":"2018-01-29"},{"cvss_score":5.5,"headline":"A carefully crafted TNEF file can cause an out of memory exception","id":"CVE-2022-26336","kev_date_added":null,"published":"2022-03-04"},{"cvss_score":5.5,"headline":"Improper Restriction of XML External Entity Reference in Apache POI","id":"CVE-2019-12415","kev_date_added":null,"published":"2019-10-23"},{"cvss_score":5.5,"headline":"Improper Restriction of Recursive Entity References in DTDs in Apache POI","id":"CVE-2017-5644","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":5.5,"headline":"Apache POI's XLSX2CSV Example XML External Entity (XXE) Vulnerability","id":"CVE-2016-5000","kev_date_added":null,"published":"2016-08-05"},{"cvss_score":5.3,"headline":"Apache POI OOXML Vulnerable to Improper Input Validation in OOXML File Parsing","id":"CVE-2025-31672","kev_date_added":null,"published":"2025-04-09"},{"cvss_score":5,"headline":"Loop with Unreachable Exit Condition in Apache POI","id":"CVE-2014-9527","kev_date_added":null,"published":"2015-01-06"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can cause denial of service in applications using Apache POI by sending crafted CDF or CFBF documents with malicious length values.","url":"https://insights.sbomify.com/CVE-2012-0213/"}