Heap-based buffer overflow in ClamAV - CVE-2023-20032

 

Heap-based buffer overflow in ClamAV - CVE-2023-20032

Published: February 15, 2023


Vulnerability identifier: #VU72297
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-20032
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in the HFS+ partition file parser. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


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 Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
Fedora
SUSE Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
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 High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
openSUSE Leap
openEuler
QuTScloud
clamav (Ubuntu package)
app-antivirus/clamav
clamav-debugsource
clamav-devel
clamav
clamav-help
clamav-milter
clamd
clamav-debuginfo
clamav-filesystem
clamav-data
clamav-update
libclamav9
libfreshclam2-debuginfo
libclamav9-debuginfo
libfreshclam2
QuTS hero
QNAP QTS
RSA Authentication Manager
Secure Web Appliance

How to mitigate CVE-2023-20032

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-debugsource - update to 0.103.8-1
clamav-devel - update to 0.103.8-1
clamav - update to 0.103.8-1
clamav-help - update to 0.103.8-1
clamav-milter - update to 0.103.8-1
clamd - update to 0.103.8-1
clamav-debuginfo - update to 0.103.8-1
clamav-filesystem - update to 0.103.8-1
clamav-data - update to 0.103.8-1
clamav-update - 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.el8, 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
Secure Web Appliance - addressed in versions 14.0.4-005, 15.0.0-254

External References

Related Security Bulletins