Heap-based buffer overflow in ZZIPlib - CVE-2017-5974

 

Heap-based buffer overflow in ZZIPlib - CVE-2017-5974

Published: March 1, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33256
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-2017-5974
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 __zzip_get32 function in fetch.c in zziplib 0.13.62. A remote attacker can use a crafted ZIP file. 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

ZZIPlib
Arch Linux
Fedora
zziplib (Alpine package)
zziplib

How to mitigate CVE-2017-5974

Update to version 0.13.63.

ZZIPlib - update to 0.13.63
zziplib (Alpine package) - update to 0.13.67-r0
zziplib - update to 0.13.69-1.fc28

External References

Related Security Bulletins