Infinite loop in ClamAV - CVE-2021-1252
Published: May 3, 2021
Vulnerability identifier: #VU52792
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-2021-1252
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 Excel XLM macro parsing module. A remote attacker can consume all available system resources and cause denial of service conditions.
Affected software
ClamAV
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
clamav (Ubuntu package)
libclamav9 (Ubuntu package)
clamav-debugsource
clamav-debuginfo
clamav
libfreshclam2-debuginfo
libfreshclam2
libclamav9-debuginfo
libclamav9
clamav-devel
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Point of Sale
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
clamav (Ubuntu package)
libclamav9 (Ubuntu package)
clamav-debugsource
clamav-debuginfo
clamav
libfreshclam2-debuginfo
libfreshclam2
libclamav9-debuginfo
libclamav9
clamav-devel
How to mitigate CVE-2021-1252
Install updates from vendor's website.
ClamAV - update to 0.103.2
clamav (Ubuntu package) - addressed in versions 0.103.2+dfsg-0ubuntu0.14.04.1+esm1, 0.103.2+dfsg-0ubuntu0.16.04.1, 0.103.2+dfsg-0ubuntu0.18.04.1, 0.103.2+dfsg-0ubuntu0.18.04.2, 0.103.2+dfsg-0ubuntu0.20.04.1, 0.103.2+dfsg-0ubuntu0.20.04.2, 0.103.2+dfsg-0ubuntu0.20.10.1, 0.103.2+dfsg-0ubuntu0.20.10.2, 0.103.2+dfsg-1ubuntu0.21.04.1
libclamav9 (Ubuntu package) - addressed in versions 0.103.2+dfsg-0ubuntu0.18.04.2, 0.103.2+dfsg-0ubuntu0.20.04.2, 0.103.2+dfsg-0ubuntu0.20.10.2, 0.103.2+dfsg-1ubuntu0.21.04.1
clamav-debugsource - addressed in versions 0.103.2-0.20.35.1, 0.103.2-3.6.1, 0.103.2-3.26.1, 0.103.2-33.35.1
clamav-debuginfo - addressed in versions 0.103.2-0.20.35.1, 0.103.2-3.6.1, 0.103.2-3.26.1, 0.103.2-33.35.1
clamav - addressed in versions 0.103.2-0.20.35.1, 0.103.2-3.6.1, 0.103.2-3.26.1, 0.103.2-33.35.1
libfreshclam2-debuginfo - update to 0.103.2-3.26.1
libfreshclam2 - update to 0.103.2-3.26.1
libclamav9-debuginfo - update to 0.103.2-3.26.1
libclamav9 - update to 0.103.2-3.26.1
clamav-devel - update to 0.103.2-3.26.1
clamav (Ubuntu package) - addressed in versions 0.103.2+dfsg-0ubuntu0.14.04.1+esm1, 0.103.2+dfsg-0ubuntu0.16.04.1, 0.103.2+dfsg-0ubuntu0.18.04.1, 0.103.2+dfsg-0ubuntu0.18.04.2, 0.103.2+dfsg-0ubuntu0.20.04.1, 0.103.2+dfsg-0ubuntu0.20.04.2, 0.103.2+dfsg-0ubuntu0.20.10.1, 0.103.2+dfsg-0ubuntu0.20.10.2, 0.103.2+dfsg-1ubuntu0.21.04.1
libclamav9 (Ubuntu package) - addressed in versions 0.103.2+dfsg-0ubuntu0.18.04.2, 0.103.2+dfsg-0ubuntu0.20.04.2, 0.103.2+dfsg-0ubuntu0.20.10.2, 0.103.2+dfsg-1ubuntu0.21.04.1
clamav-debugsource - addressed in versions 0.103.2-0.20.35.1, 0.103.2-3.6.1, 0.103.2-3.26.1, 0.103.2-33.35.1
clamav-debuginfo - addressed in versions 0.103.2-0.20.35.1, 0.103.2-3.6.1, 0.103.2-3.26.1, 0.103.2-33.35.1
clamav - addressed in versions 0.103.2-0.20.35.1, 0.103.2-3.6.1, 0.103.2-3.26.1, 0.103.2-33.35.1
libfreshclam2-debuginfo - update to 0.103.2-3.26.1
libfreshclam2 - update to 0.103.2-3.26.1
libclamav9-debuginfo - update to 0.103.2-3.26.1
libclamav9 - update to 0.103.2-3.26.1
clamav-devel - update to 0.103.2-3.26.1