Description
Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
References
- https://bugs.php.net/bug.php?id=73768 ↗
- https://access.redhat.com/errata/RHSA-2018:1296 ↗
- http://php.net/ChangeLog-5.php ↗
- https://security.netapp.com/advisory/ntap-20180112-0001/ ↗
- https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be ↗
- https://www.tenable.com/security/tns-2017-04 ↗
- http://www.debian.org/security/2017/dsa-3783 ↗
- https://security.gentoo.org/glsa/201702-29 ↗
- http://php.net/ChangeLog-7.php ↗
- http://www.securitytracker.com/id/1037659 ↗
- http://www.securityfocus.com/bid/95783 ↗