CVE-2016-3078
php: Heap overflow caused by integer overflow when reading zip files in ZipArchive
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (medium).
Description
Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted call to (1) getFromIndex or (2) getFromName in the ZipArchive class.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| ubuntu 16.04 | php7.0 | 7.0.4-7ubuntu2.1 |
| ubuntu 16.04-ESM | php7.0 | 7.0.4-7ubuntu2.1 |
References
- http://www.openwall.com/lists/oss-security/2016/04/28/1
- http://www.securitytracker.com/id/1035701
- https://access.redhat.com/security/cve/CVE-2016-3078
- https://bugs.php.net/bug.php?id=71923
- https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c?w=1
- https://nvd.nist.gov/vuln/detail/CVE-2016-3078
- https://php.net/ChangeLog-7.php
- https://security-tracker.debian.org/tracker/CVE-2016-3078