Heap-based buffer overflow in ClamAV - CVE-2017-6419

 

Heap-based buffer overflow in ClamAV - CVE-2017-6419

Published: March 18, 2018 / Updated: March 22, 2018


Vulnerability identifier: #VU11216
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-6419
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The weakness exists due to heap-based buffer overflow. A remote attacker can send a specially crafted CHM file, trick the victim into opening it and cause the service to crash or execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.


Affected software

ClamAV
Arch Linux
Debian Linux
Amazon Linux AMI
Gentoo Linux
Fedora
SUSE Linux
Ubuntu
Opensuse
a2ps (Alpine package)
libmspack
clamav

How to mitigate CVE-2017-6419

Update to version 0.99.3 or later.

a2ps (Alpine package) - update to 4.14-r7
libmspack - addressed in versions 0.6-0.1.alpha.el6, 0.6-0.1.alpha.el7, 0.6-0.1.alpha.fc25, 0.6-0.1.alpha.fc26, 0.6-0.1.alpha.fc27
clamav - addressed in versions 0.99.3-1.el7, 0.99.3-1.fc26, 0.99.3-1.fc27, 0.99.3-8.el6, 0.99.4-1.el6, 0.99.4-1.el7, 0.99.4-1.fc26, 0.99.4-1.fc27

External References

Related Security Bulletins