{"answers":{"affected":"4 open source packages ship an affected version, including org.webjars.npm:xlsx and xlsx. It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-32012 in the wild and no public exploit code.","fix":"Upgrade org.webjars.npm:xlsx to 0.17.0 or later.","what":"CVE-2021-32012 is a medium-severity denial of service vulnerability in n/a, published on 19 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-32012 and fix it if it is affected.\n\nWhat it is: CVE-2021-32012 is a medium-severity denial of service vulnerability in n/a, published on 19 Jul 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-32012 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.webjars.npm:xlsx (Maven): affected all versions; fixed in 0.17.0\n- org.webjars.npm:xlsx (Maven): affected all versions; fixed in 0.17.0\n- xlsx (npm): affected all versions; fixed in 0.17.0\n- xlsx (npm): affected all versions; fixed in 0.17.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-2021-32012/ (Markdown: https://insights.sbomify.com/CVE-2021-32012/index.md)","id":"CVE-2021-32012","markdown":"https://insights.sbomify.com/CVE-2021-32012/index.md","name":"CVE-2021-32012","record":{"aliases":["GHSA-3x9f-74h4-2fqr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"JavaScript spreadsheet library","requires_auth":"none","summary":"Attackers can cause denial of service via memory consumption by providing a crafted .xlsx document to the SheetJS library.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rest_data_services","vendor":"oracle"},{"product":"sheetjs","vendor":"sheetjs_project"},{"product":"sheetjs_pro","vendor":"sheetjs_project"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"SheetJS and SheetJS Pro through 0.16.9 allows attackers to cause a denial of service (memory consumption) via a crafted .xlsx document that is mishandled when read by xlsx.js (issue 1 of 2).","ecosystems":["Maven","npm"],"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 SheetJS Pro","id":"CVE-2021-32012","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2021"},"n_packages":4,"n_references":4,"next":{"headline":"Denial of Service in SheetsJS Pro","id":"CVE-2021-32013"},"packages":[{"ecosystem":"Maven","fixed":["0.17.0"],"introduced":["0"],"last_affected":[],"package":"org.webjars.npm:xlsx","purl":null,"source":"GHSA-3x9f-74h4-2fqr"},{"ecosystem":"Maven","fixed":["0.17.0"],"introduced":["0"],"last_affected":[],"package":"org.webjars.npm:xlsx","purl":"pkg:maven/org.webjars.npm/xlsx","source":"GHSA-3x9f-74h4-2fqr"},{"ecosystem":"npm","fixed":["0.17.0"],"introduced":["0"],"last_affected":[],"package":"xlsx","purl":null,"source":"GHSA-3x9f-74h4-2fqr"},{"ecosystem":"npm","fixed":["0.17.0"],"introduced":["0"],"last_affected":[],"package":"xlsx","purl":"pkg:npm/xlsx","source":"GHSA-3x9f-74h4-2fqr"}],"prev":{"headline":"Clients may connect to a GateManager with TLS 1.0","id":"CVE-2021-32010"},"products":["n/a"],"published":"2021-07-19","related":[{"cvss_score":10,"headline":"Auth bypass in Oracle REST Data Services","id":"CVE-2026-46840","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":9.9,"headline":"Denial of service in Oracle REST Data Services","id":"CVE-2026-46775","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":9.9,"headline":"Auth bypass in Oracle REST Data Services","id":"CVE-2026-46839","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":8.1,"headline":"Missing authorization in Oracle REST Data Services","id":"CVE-2026-35277","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":7.9,"headline":"Cross-site request forgery in Oracle REST Data Services","id":"CVE-2026-35266","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":7.5,"headline":"Denial of service in Oracle REST Data Services","id":"CVE-2026-46829","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":6.5,"headline":"Information disclosure in REST Data Services","id":"CVE-2020-14744","kev_date_added":null,"published":"2020-10-21"}],"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-03","vendors":["n/a"]},"summary":"Attackers can cause denial of service via memory consumption by providing a crafted .xlsx document to the SheetJS library.","url":"https://insights.sbomify.com/CVE-2021-32012/"}