CVE-2015-2331
Nih Libzip vulnerability
Integer overflow in the _zip_cdir_new function in zip_dirent.c in libzip 0.11.2 and earlier, as used in the ZIP extension in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 and other products, allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a ZIP archive that contains many entries, leading to a heap-based buffer overflow.
Affected products
Libzip, Php, Debian Linux, Fedora, Opensuse. 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
- hg.nih.at/libzip/rev/9f11d54f692e · Vendor Advisory
- bugs.php.net/bug.php?id=69253 · Exploit
- git.php.net/?p=php-src.git%3Ba=commit%3Bh=ef8fc4b53d92fbfcd8ef1abbd6f2f5fe2c4a11e5
- lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- lists.fedoraproject.org/pipermail/package-announce/2015-April/154266.html
- lists.fedoraproject.org/pipermail/package-announce/2015-April/154276.html
- lists.fedoraproject.org/pipermail/package-announce/2015-April/154666.html
- lists.fedoraproject.org/pipermail/package-announce/2015-April/155299.html
- nvd.nist.gov/vuln/detail/CVE-2015-2331
- cve.org/CVERecord?id=CVE-2015-2331
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.