Input validation error in PHP - CVE-2015-5589
Published: May 16, 2016 / Updated: July 28, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
The phar_convert_to_other function in ext/phar/phar_object.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 does not validate a file pointer before a close operation, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted TAR archive that is mishandled in a Phar::convertToData call.
Affected software
Amazon Linux AMI
Debian Linux
Fedora
php (Alpine package)
php5 (Debian package)
php
How to mitigate CVE-2015-5589
php (Alpine package) - update to 5.5.27-r0
php5 (Debian package) - addressed in versions 5.4.44-0+deb7u1, 5.6.12+dfsg-0+deb8u1
php - update to 5.6.11-1.fc21