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
php5 (Ubuntu package)
Slackware Linux
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