XML External Entity injection in ClamAV - CVE-2023-20052
Published: February 15, 2023 / Updated: April 19, 2024
Vulnerability identifier: #VU72298
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2023-20052
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to enabling XML entity substitution. A remote attacker can pass a specially crafted XML code to the antivirus and view bytes from any file that may be read by the ClamAV scanning process.
Affected software
ClamAV
Secure Endpoint for Linux
Secure Endpoint for macOS
Secure Endpoint Private Cloud
Secure Endpoint for Windows
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
Fedora
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
openSUSE Leap
openEuler
QuTScloud
clamav (Ubuntu package)
app-antivirus/clamav
clamav-data
clamav-filesystem
clamav-milter
clamav-update
clamd
clamav
clamav-devel
clamav-debugsource
clamav-debuginfo
clamav-help
libclamav9
libfreshclam2-debuginfo
libclamav9-debuginfo
libfreshclam2
QuTS hero
QNAP QTS
RSA Authentication Manager
Secure Endpoint for Linux
Secure Endpoint for macOS
Secure Endpoint Private Cloud
Secure Endpoint for Windows
Amazon Linux AMI
Gentoo Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE CaaS Platform
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
Fedora
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
openSUSE Leap
openEuler
QuTScloud
clamav (Ubuntu package)
app-antivirus/clamav
clamav-data
clamav-filesystem
clamav-milter
clamav-update
clamd
clamav
clamav-devel
clamav-debugsource
clamav-debuginfo
clamav-help
libclamav9
libfreshclam2-debuginfo
libclamav9-debuginfo
libfreshclam2
QuTS hero
QNAP QTS
RSA Authentication Manager
How to mitigate CVE-2023-20052
Install updates from vendor's website.
ClamAV - addressed in versions 0.103.8, 0.105.2, 1.0.1
clamav (Ubuntu package) - addressed in versions Ubuntu Pro, 0.103.8+dfsg-0ubuntu0.18.04.1, 0.103.8+dfsg-0ubuntu0.20.04.1, 0.103.8+dfsg-0ubuntu0.22.04.1, 0.103.8+dfsg-0ubuntu0.22.10.1
QuTScloud - update to c5.0.1.2374
QuTS hero - update to h5.0.1.2376 build 20230421
app-antivirus/clamav - update to 0.103.7
clamav-data - update to 0.103.8-1
clamav-filesystem - update to 0.103.8-1
clamav-milter - update to 0.103.8-1
clamav-update - update to 0.103.8-1
clamd - update to 0.103.8-1
clamav - update to 0.103.8-1
clamav-devel - update to 0.103.8-1
clamav-debugsource - update to 0.103.8-1
clamav-debuginfo - update to 0.103.8-1
clamav-help - update to 0.103.8-1
clamav - addressed in versions 0.103.8-1.el7, 0.103.8-1.el8, 0.103.8-1.el9, 0.103.8-1.fc36, 0.103.8-1.fc37, 0.103.8-3.el7, 0.103.8-3.fc36
clamav - update to 0.103.8-1.52
clamav-debuginfo - addressed in versions 0.103.8-3.24.1, 0.103.8-33.53.1, 0.103.8-150000.3.44.1
clamav-debugsource - addressed in versions 0.103.8-3.24.1, 0.103.8-33.53.1, 0.103.8-150000.3.44.1
clamav - addressed in versions 0.103.8-3.24.1, 0.103.8-33.53.1, 0.103.8-150000.3.44.1
libclamav9 - update to 0.103.8-150000.3.44.1
libfreshclam2-debuginfo - update to 0.103.8-150000.3.44.1
clamav-devel - update to 0.103.8-150000.3.44.1
libclamav9-debuginfo - update to 0.103.8-150000.3.44.1
libfreshclam2 - update to 0.103.8-150000.3.44.1
Secure Endpoint for Linux - update to 1.20.2
Secure Endpoint for macOS - update to 1.21.1
Secure Endpoint Private Cloud - update to 3.6.0
QNAP QTS - update to 5.0.1.2376 20230421
Secure Endpoint for Windows - addressed in versions 7.5.9, 8.1.5
RSA Authentication Manager - update to 8.7 Patch 3
clamav (Ubuntu package) - addressed in versions Ubuntu Pro, 0.103.8+dfsg-0ubuntu0.18.04.1, 0.103.8+dfsg-0ubuntu0.20.04.1, 0.103.8+dfsg-0ubuntu0.22.04.1, 0.103.8+dfsg-0ubuntu0.22.10.1
QuTScloud - update to c5.0.1.2374
QuTS hero - update to h5.0.1.2376 build 20230421
app-antivirus/clamav - update to 0.103.7
clamav-data - update to 0.103.8-1
clamav-filesystem - update to 0.103.8-1
clamav-milter - update to 0.103.8-1
clamav-update - update to 0.103.8-1
clamd - update to 0.103.8-1
clamav - update to 0.103.8-1
clamav-devel - update to 0.103.8-1
clamav-debugsource - update to 0.103.8-1
clamav-debuginfo - update to 0.103.8-1
clamav-help - update to 0.103.8-1
clamav - addressed in versions 0.103.8-1.el7, 0.103.8-1.el8, 0.103.8-1.el9, 0.103.8-1.fc36, 0.103.8-1.fc37, 0.103.8-3.el7, 0.103.8-3.fc36
clamav - update to 0.103.8-1.52
clamav-debuginfo - addressed in versions 0.103.8-3.24.1, 0.103.8-33.53.1, 0.103.8-150000.3.44.1
clamav-debugsource - addressed in versions 0.103.8-3.24.1, 0.103.8-33.53.1, 0.103.8-150000.3.44.1
clamav - addressed in versions 0.103.8-3.24.1, 0.103.8-33.53.1, 0.103.8-150000.3.44.1
libclamav9 - update to 0.103.8-150000.3.44.1
libfreshclam2-debuginfo - update to 0.103.8-150000.3.44.1
clamav-devel - update to 0.103.8-150000.3.44.1
libclamav9-debuginfo - update to 0.103.8-150000.3.44.1
libfreshclam2 - update to 0.103.8-150000.3.44.1
Secure Endpoint for Linux - update to 1.20.2
Secure Endpoint for macOS - update to 1.21.1
Secure Endpoint Private Cloud - update to 3.6.0
QNAP QTS - update to 5.0.1.2376 20230421
Secure Endpoint for Windows - addressed in versions 7.5.9, 8.1.5
RSA Authentication Manager - update to 8.7 Patch 3
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Multiple vulnerabilities in ClamAV
- Cisco Secure Endpoint update for ClamAV
- SUSE update for clamav
- SUSE update for clamav
- SUSE update for clamav
- Amazon Linux AMI update for clamav
- Ubuntu update for clamav
- Fedora EPEL 8 update for clamav
- Fedora 37 update for clamav
- Fedora EPEL 9 update for clamav
- Fedora EPEL 7 update for clamav
- Fedora 36 update for clamav
- Fedora EPEL 7 update for clamav
- Fedora 36 update for clamav
- Gentoo update for ClamAV
- Multiple vulnerabilities in QNAP operating systems
- openEuler update for clamav
- Amazon Linux AMI update for clamav
- RSA Authentication Manager update for third-party components
- RSA Authentication Manager update for ClamAV