Infinite loop in ClamAV - CVE-2023-20197

 

Infinite loop in ClamAV - CVE-2023-20197

Published: August 16, 2023 / Updated: August 17, 2023


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

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in the HFS+ file parser. A remote attacker can consume all available system resources and cause denial of service conditions.


Affected software

ClamAV
Gentoo Linux
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
Amazon Linux AMI
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 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
SUSE Linux Enterprise Micro
Fedora
SUSE Enterprise Storage
Ubuntu
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 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
RSA Authentication Manager
clamav (Ubuntu package)
clamav-help
clamav-update
clamav-devel
clamav
clamav-data
clamav-filesystem
clamav-debugsource
clamav-debuginfo
clamav-milter
clamd
libfreshclam2-debuginfo
libclamav9-debuginfo
libclamav9
libfreshclam2
app-antivirus/clamav
clamav-docs-html
libclamav12-debuginfo
libfreshclam3-debuginfo
libclammspack0-debuginfo
libclammspack0
clamav-milter-debuginfo
libfreshclam3
libclamav12
Storage Defender – Data Protect

How to mitigate CVE-2023-20197

Install updates from vendor's website.

ClamAV - addressed in versions 0.103.9, 1.0.2, 1.1.1
RSA Authentication Manager - addressed in versions 8.7 SP1 Patch 3, 8.7 SP2 Patch 1, 8.7 SP2 Patch 6
clamav (Ubuntu package) - addressed in versions Ubuntu Pro, 0.103.9+dfsg-0ubuntu0.20.04.1, 0.103.9+dfsg-0ubuntu0.22.04.1, 0.103.9+dfsg-0ubuntu0.23.04.1
clamav-help - update to 0.103.9-1
clamav-update - update to 0.103.9-1
clamav-devel - update to 0.103.9-1
clamav - update to 0.103.9-1
clamav-data - update to 0.103.9-1
clamav-filesystem - update to 0.103.9-1
clamav-debugsource - update to 0.103.9-1
clamav-debuginfo - update to 0.103.9-1
clamav-milter - update to 0.103.9-1
clamd - update to 0.103.9-1
clamav - addressed in versions 0.103.9-1.el7, 0.103.9-1.el8, 0.103.9-1.fc37, 1.0.2-1.el9, 1.0.2-1.fc38
clamav - update to 0.103.9-1.55
clamav-debugsource - addressed in versions 0.103.9-3.27.1, 0.103.9-150000.3.47.1, 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-debuginfo - addressed in versions 0.103.9-3.27.1, 0.103.9-150000.3.47.1, 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav - addressed in versions 0.103.9-3.27.1, 0.103.9-150000.3.47.1, 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-devel - addressed in versions 0.103.9-150000.3.47.1, 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libfreshclam2-debuginfo - update to 0.103.9-150000.3.47.1
libclamav9-debuginfo - update to 0.103.9-150000.3.47.1
libclamav9 - update to 0.103.9-150000.3.47.1
libfreshclam2 - update to 0.103.9-150000.3.47.1
app-antivirus/clamav - update to 1.4.1
clamav-docs-html - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclamav12-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libfreshclam3-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclammspack0-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclammspack0 - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-milter-debuginfo - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libfreshclam3 - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
clamav-milter - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
libclamav12 - addressed in versions 1.4.2-3.36.1, 1.4.2-150200.8.3.1, 1.4.2-150600.18.6.1
Storage Defender – Data Protect - update to 2.0

External References

Related Security Bulletins