CVE-2012-1162
Nih Libzip vulnerability
Heap-based buffer overflow in the _zip_readcdir function in zip_open.c in libzip 0.10 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a zip archive with the number of directories set to 0, related to an "incorrect loop construct."
Affected products
Libzip. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nih Libzip runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nih.at/listarchive/libzip-discuss/msg00252.html · Exploit
- www.openwall.com/lists/oss-security/2012/03/21/2 · Exploit
- www.gentoo.org/security/en/glsa/glsa-201203-23.xml
- www.mandriva.com/security/advisories?name=MDVSA-2012:034
- www.nih.at/libzip/NEWS.html
- www.openwall.com/lists/oss-security/2012/03/29/11
- nvd.nist.gov/vuln/detail/CVE-2012-1162
- cve.org/CVERecord?id=CVE-2012-1162
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.