Heap-based buffer overflow in UnZip - CVE-2014-8140

 

Heap-based buffer overflow in UnZip - CVE-2014-8140

Published: January 31, 2020 / Updated: August 3, 2020


Vulnerability identifier: #VU33145
CSH Severity: Medium
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-2014-8140
CWE-ID: CWE-122
Exploitation vector: Local 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 a boundary error in Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier. A remote attacker can use a crafted zip file in the -t command argument to the unzip command. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

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


Affected software

UnZip
Amazon Linux AMI
Gentoo Linux
Slackware Linux
Fedora
unzip (Alpine package)
unzip

How to mitigate CVE-2014-8140

Update to version 6.10b.

UnZip - update to 6.10 b
unzip (Alpine package) - update to 6.0-r3
unzip - addressed in versions 6.0-19.fc21, 6.0-20.fc21

External References

Related Security Bulletins