Heap-based buffer over-read in ClamAV - CVE-2017-12377

 

Heap-based buffer over-read in ClamAV - CVE-2017-12377

Published: January 29, 2018


Vulnerability identifier: #VU10315
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-12377
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ClamAV
Affected software:
ClamAV

Detailed vulnerability description

The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.

The weakness exists due to input validation checking mechanisms in mew packet files. A remote attacker can send a specially crafted .pdf file, trigger a heap-based buffer over-read condition in mew.c and cause the service to crash or execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-12377

Update to version 0.99.3.

Sources