Out-of-bounds read in ClamAV - CVE-2019-1789

 

Out-of-bounds read in ClamAV - CVE-2019-1789

Published: November 5, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU30707
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-2019-1789
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

ClamAV versions prior to 0.101.2 are susceptible to a denial of service (DoS) vulnerability. An out-of-bounds heap read condition may occur when scanning PE files. An example is Windows EXE and DLL files that have been packed using Aspack as a result of inadequate bound-checking.


Affected software

ClamAV
Amazon Linux AMI
Debian Linux
Ubuntu
Opensuse
clamav (Alpine package)
clamav (Ubuntu package)
clamav (Debian package)

How to mitigate CVE-2019-1789

Install update from vendor's website.

ClamAV - update to 0.101.2
clamav (Alpine package) - update to 0.100.3-r0
clamav (Ubuntu package) - addressed in versions 0.100.3+dfsg-0ubuntu0.14.04.1, 0.100.3+dfsg-0ubuntu0.16.04.1, 0.100.3+dfsg-0ubuntu0.18.04.1, 0.100.3+dfsg-0ubuntu0.18.10.1, 0.100.3+dfsg-1ubuntu0.12.04.1
clamav (Debian package) - update to 0.100.3+dfsg-0+deb8u1

External References

Related Security Bulletins