Resource exhaustion in libzip - CVE-2017-14107

 

Resource exhaustion in libzip - CVE-2017-14107

Published: August 3, 2020


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

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing EOCD records in _zip_read_eocd64() function in zip_open.c in libzip. A remote attacker can create a specially crafted ZIP archive, trick the victim into opening it and consume all available memory on the system.


Affected software

libzip
libzip (Alpine package)
mingw-libzip
libzip
Slackware Linux
Fedora

How to mitigate CVE-2017-14107

Install updates from vendor's website.

libzip - update to 1.3.0
libzip (Alpine package) - update to 1.2.0-r2
mingw-libzip - addressed in versions 1.1.3-3.fc25, 1.2.0-4.fc26, 1.2.0-4.fc27, 1.3.0-1.fc26, 1.3.0-1.fc27
libzip - addressed in versions 1.3.0-1.fc26, 1.3.0-1.fc27

External References

Related Security Bulletins