{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2023-20052 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2023-20052 is a medium-severity vulnerability in Clamav Clamav, published on 16 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-20052 and fix it if it is affected.\n\nWhat it is: CVE-2023-20052 is a medium-severity vulnerability in Clamav Clamav, published on 16 Feb 2023. 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-2023-20052 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-2023-20052/ (Markdown: https://insights.sbomify.com/CVE-2023-20052/index.md)","id":"CVE-2023-20052","markdown":"https://insights.sbomify.com/CVE-2023-20052/index.md","name":"CVE-2023-20052","record":{"aliases":["AZL-13723","CLEANSTART-2026-BB44152","DEBIAN-CVE-2023-20052","GHSA-pcr4-7r58-755h","UBUNTU-CVE-2023-20052"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"ClamAV scanning library","requires_auth":"none","summary":"An unauthenticated remote attacker can leak sensitive file bytes by submitting a crafted DMG file to ClamAV due to XML external entity injection in the DMG parser.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"secure_endpoint","vendor":"cisco"},{"product":"secure_endpoint_private_cloud","vendor":"cisco"},{"product":"clamav","vendor":"clamav"},{"product":"stormshield_network_security","vendor":"stormshield"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"},{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed:\r\n\r \r A vulnerability in the DMG file parser of ClamAV versions 1.0.0 and earlier, 0.105.1 and earlier, and 0.103.7 and earlier could allow an unauthenticated, remote attacker to access sensitive information on an affected device.\r\n\r \r This vulnerability is due to enabling XML entity substitution that may result in XML external entity injection. An attacker could exploit this vulnerability by submitting a crafted DMG file to be scanned by ClamAV on an affected device. A successful exploit could allow the attacker to leak bytes from any file that may be read by the ClamAV scanning process.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2023-05-08","github_poc":4,"max_poc_stars":29,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-05-08T18:34:02Z","kind":"github_poc","ref":"https://github.com/nokn0wthing/CVE-2023-20052","stars":29,"title":"CVE-2023-20052, information leak vulnerability in the DMG file parser of ClamAV"},{"date":"2023-07-19T07:39:20Z","kind":"github_poc","ref":"https://github.com/cY83rR0H1t/CVE-2023-20052","stars":0,"title":"CVE-2023-20052 information leak vulnerability in the DMG file parser of ClamAV"},{"date":"2026-02-14T17:00:01Z","kind":"github_poc","ref":"https://github.com/MOHITSINGHPAPOLA/CVE-2023-20052","stars":0,"title":"Working Docker build for the ClamAV XXE exploit (CVE-2023-20052), patched to compile on OpenSSL 3.0"},{"date":"2026-05-16T17:00:22Z","kind":"github_poc","ref":"https://github.com/tralsesec/CVE-2023-20052","stars":0,"title":"Original standalone Proof-of-Concept exploit and execution harness for CVE-2023-20052 (ClamAV DMG XML Entity Expansion)."}],"tier":"poc_unverified"},"has_fix":true,"headline":"XML external entity in Cisco Secure Endpoint","id":"CVE-2023-20052","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav"],"type":"xxe","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Cross-site scripting in Cisco Nexus Dashboard","id":"CVE-2023-20053"},"packages":[],"prev":{"headline":"Cisco Packet Data Network Gateway IPsec ICMP Denial of Service Vulnerability","id":"CVE-2023-20051"},"products":["Cisco Secure Endpoint"],"published":"2023-02-16","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Cisco"]},"summary":"An unauthenticated remote attacker can leak sensitive file bytes by submitting a crafted DMG file to ClamAV due to XML external entity injection in the DMG parser.","url":"https://insights.sbomify.com/CVE-2023-20052/"}