Out-of-bounds read in ClamAV - CVE-2021-1404
Published: May 3, 2021
Vulnerability identifier: #VU52793
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-1404
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition in the PDF parsing module. A remote attacker can create a specially crafted PDF file, pass it to the application, trigger out-of-bounds read error and read contents of memory on the system.
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-1404
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