Off-by-one in PHP - CVE-2015-7804
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition.
The vulnerability exists due to off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14. A remote attacker can trigger uninitialized pointer dereference and cause the service to crash by including the / filename in a .zip PHAR archive.
Affected software
Debian Linux
Slackware Linux
php5 (Ubuntu package)
php5 (Debian package)
How to mitigate CVE-2015-7804
php5 (Ubuntu package) - addressed in versions 5.3.10-1ubuntu3.21, 5.5.9+dfsg-1ubuntu4.14, 5.6.4+dfsg-4ubuntu6.4, 5.6.11+dfsg-1ubuntu3.1
php5 (Debian package) - addressed in versions 5.4.45-0+deb7u2, 5.6.14+dfsg-0+deb8u1