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

 

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

Published: April 8, 2019 / Updated: July 28, 2020


Vulnerability identifier: #VU32026
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-1787
CWE-ID: CWE-125
Exploitation vector: Local 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 Portable Document Format (PDF) scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and prior could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause a heap buffer out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and read contents of memory on the system.


Affected software

ClamAV
Amazon Linux AMI
Opensuse
clamav (Alpine package)

How to mitigate CVE-2019-1787

Update to version 0.101.2.

ClamAV - update to 0.101.2
clamav (Alpine package) - update to 0.100.3-r0

External References

Related Security Bulletins