{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2022-20785 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-20785 is a high-severity denial of service vulnerability in Clamav Clamav, published on 4 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-20785 and fix it if it is affected.\n\nWhat it is: CVE-2022-20785 is a high-severity denial of service vulnerability in Clamav Clamav, published on 4 May 2022. 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-2022-20785 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-2022-20785/ (Markdown: https://insights.sbomify.com/CVE-2022-20785/index.md)","id":"CVE-2022-20785","markdown":"https://insights.sbomify.com/CVE-2022-20785/index.md","name":"CVE-2022-20785","record":{"aliases":["ALPINE-CVE-2022-20785","DEBIAN-CVE-2022-20785","GHSA-mhgp-p5ch-58q3","UBUNTU-CVE-2022-20785"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ClamAV antivirus library","requires_auth":"none","summary":"A memory leak in the ClamAV HTML parser allows remote attackers to cause a denial of service on affected systems.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"secure_endpoint","vendor":"cisco"},{"product":"clamav","vendor":"clamav"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"}],"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-401","name":"Missing Release of Memory after Effective Lifetime"}],"description":"On April 20, 2022, the following vulnerability in the ClamAV scanning library versions 0.103.5 and earlier and 0.104.2 and earlier was disclosed: A vulnerability in HTML file parser of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 and LTS version 0.103.5 and prior versions could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. For a description of this vulnerability, see the ClamAV blog. This advisory will be updated as additional information becomes available.","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":"ClamAV HTML Scanning Memory Leak Vulnerability Affecting Cisco Products: April 2022","id":"CVE-2022-20785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav","debian:debian_linux","fedoraproject:fedora"],"type":"denial_of_service","year":"2022"},"n_packages":0,"n_references":6,"next":{"headline":"Cisco Unified Communications Manager IM \u0026 Presence Service SQL Injection Vulnerability","id":"CVE-2022-20786"},"packages":[],"prev":{"headline":"Cisco Web Security Appliance Filter Bypass Vulnerability","id":"CVE-2022-20784"},"products":["Cisco AMP for Endpoints"],"published":"2022-05-04","related":[{"cvss_score":9.8,"headline":"Memory corruption in Cisco Secure Endpoint","id":"CVE-2023-20032","kev_date_added":null,"published":"2023-02-16"},{"cvss_score":8.6,"headline":"ClamAV CHM File Parsing Denial of Service Vulnerability Affecting Cisco Products: April 2022","id":"CVE-2022-20770","kev_date_added":null,"published":"2022-05-04"},{"cvss_score":7.5,"headline":"ClamAV XAR File Format Processing Memory Corruption Vulnerability","id":"CVE-2026-20348","kev_date_added":null,"published":"2026-08-07"},{"cvss_score":7.5,"headline":"ClamAV PE File Format Processing Out-of-Bounds Memory Corruption Vulnerability","id":"CVE-2026-20213","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.5,"headline":"ClamAV FSG File Format Processing Out-of-Bounds Memory Corruption Vulnerability","id":"CVE-2026-20214","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.5,"headline":"ClamAV 7Zip File Format Processing Out-of-Bounds Memory Corruption Vulnerability","id":"CVE-2026-20215","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.5,"headline":"ClamAV InstallShield File Format Processing Resource Exhaustion Vulnerability","id":"CVE-2026-20216","kev_date_added":null,"published":"2026-07-01"}],"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-06","vendors":["Cisco"]},"summary":"A memory leak in the ClamAV HTML parser allows remote attackers to cause a denial of service on affected systems.","url":"https://insights.sbomify.com/CVE-2022-20785/"}