{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-1252 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-1252 is a high-severity denial of service vulnerability in Clamav Clamav, published on 8 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-1252 and fix it if it is affected.\n\nWhat it is: CVE-2021-1252 is a high-severity denial of service vulnerability in Clamav Clamav, published on 8 Apr 2021. 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-2021-1252 in the wild and no public exploit code.\n\nAffected product: Clamav Clamav. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-1252/ (Markdown: https://insights.sbomify.com/CVE-2021-1252/index.md)","id":"CVE-2021-1252","markdown":"https://insights.sbomify.com/CVE-2021-1252/index.md","name":"CVE-2021-1252","record":{"aliases":["ALPINE-CVE-2021-1252","CLEANSTART-2026-YE17561","DEBIAN-CVE-2021-1252","GHSA-5qm5-4fjv-ghcw","UBUNTU-CVE-2021-1252"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ClamAV antivirus","requires_auth":"none","summary":"Remote attackers can cause a denial of service in ClamAV by sending crafted Excel files that trigger an infinite loop in the XLM parser.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"clamav","vendor":"clamav"}],"cvss":{"score":7.5,"severity":"high","source":"cna","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-835","name":"Loop with Unreachable Exit Condition"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A vulnerability in the Excel XLM macro parsing module in Clam AntiVirus (ClamAV) Software versions 0.103.0 and 0.103.1 could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to improper error handling that may result in an infinite loop. An attacker could exploit this vulnerability by sending a crafted Excel file to an affected device. An exploit could allow the attacker to cause the ClamAV scanning process hang, resulting in a denial of service condition.","ecosystems":[],"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":"Clam AntiVirus (ClamAV) Excel XLM Parser Denial of Service Vulnerability","id":"CVE-2021-1252","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav"],"type":"denial_of_service","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Data Center Network Manager Vulnerabilities","id":"CVE-2021-1253"},"packages":[],"prev":{"headline":"Cisco Small Business RV Series Routers Link Layer Discovery Protocol Vulnerabilities","id":"CVE-2021-1251"},"products":["ClamAV"],"published":"2021-04-08","related":[{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2010-0098","kev_date_added":null,"published":"2010-04-08"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-1372","kev_date_added":null,"published":"2009-04-23"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2008-3914","kev_date_added":null,"published":"2008-09-09"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-0728","kev_date_added":null,"published":"2008-02-12"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2006-1615","kev_date_added":null,"published":"2006-04-06"},{"cvss_score":9.8,"headline":"ClamAV PDF Scanning Buffer Overflow Vulnerability","id":"CVE-2025-20260","kev_date_added":null,"published":"2025-06-18"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2013-7087","kev_date_added":null,"published":"2019-11-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-08","vendors":["Cisco"]},"summary":"Remote attackers can cause a denial of service in ClamAV by sending crafted Excel files that trigger an infinite loop in the XLM parser.","url":"https://insights.sbomify.com/CVE-2021-1252/"}