CVE-2023-20052 XML external entity in Cisco Secure Endpoint
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.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-20052?
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.
Official description
On Feb 15, 2023, the following vulnerability in the ClamAV scanning library was disclosed: 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. 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.
Which versions are affected by CVE-2023-20052?
It affects 4 products.
Products include Cisco Secure Endpoint, Cisco Secure Endpoint Private Cloud, Clamav Clamav, Stormshield Stormshield Network Security.
How do I fix CVE-2023-20052?
Upgrade to a fixed version.
Is CVE-2023-20052 being exploited?
There is no known exploitation of CVE-2023-20052 in the wild and no public exploit code.
Public exploit code: 4 proofs of concept on GitHub.
Other vulnerabilities in Clamav Clamav
- CVE-2023-20032 Memory corruption in Cisco Secure Endpoint
- CVE-2022-20770 ClamAV CHM File Parsing Denial of Service Vulnerability Affecting Cisco Products: April 2022
- CVE-2026-20348 ClamAV XAR File Format Processing Memory Corruption Vulnerability
- CVE-2026-20213 ClamAV PE File Format Processing Out-of-Bounds Memory Corruption Vulnerability
- CVE-2026-20214 ClamAV FSG File Format Processing Out-of-Bounds Memory Corruption Vulnerability
Sources
Also known as AZL-13723, CLEANSTART-2026-BB44152, DEBIAN-CVE-2023-20052, GHSA-pcr4-7r58-755h, UBUNTU-CVE-2023-20052.