Input validation error in libzip - CVE-2012-1163
Published: July 12, 2012 / Updated: August 11, 2020
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
Sources
- http://nih.at/listarchive/libzip-discuss/msg00252.html
- http://www.gentoo.org/security/en/glsa/glsa-201203-23.xml
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:034
- http://www.nih.at/libzip/NEWS.html
- http://www.openwall.com/lists/oss-security/2012/03/21/2
- http://www.openwall.com/lists/oss-security/2012/03/29/11