Heap-based buffer overflow in 7-Zip - CVE-2017-17969

 

Heap-based buffer overflow in 7-Zip - CVE-2017-17969

Published: February 5, 2018 / Updated: February 5, 2018


Vulnerability identifier: #VU10377
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-17969
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to heap-based buffer overflow in the NCompress::NShrink::CDecoder::CodeReal method. A remote attacker can trick the victim into opening a specially crafted ZIP archive, trigger memory corruption and out-of-bounds write execute arbitrary code with privileges of the current user.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

7-Zip
Debian Linux
Fedora
openEuler
p7zip
linux-firmware (Alpine package)

How to mitigate CVE-2017-17969

Update to version 18.00

p7zip - update to 16.02-3
p7zip - addressed in versions 16.02-9.el6, 16.02-9.el7, 16.02-9.fc26, 16.02-9.fc27, 16.02-10.el6, 16.02-10.el7, 16.02-10.fc26, 16.02-10.fc27
linux-firmware (Alpine package) - update to 20180615-r2

External References

Related Security Bulletins