Input validation error in libzip - CVE-2012-1163

 

Input validation error in libzip - CVE-2012-1163

Published: July 12, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43884
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-1163
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: NiH
Affected software:
libzip

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Integer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to execute arbitrary code via the size and offset values for the central directory in a zip archive, which triggers "improper restrictions of operations within the bounds of a memory buffer" and an information leak.


How to mitigate CVE-2012-1163

Install update from vendor's website.

Sources