USN-5125-1: PHP vulnerability
27 October 2021
PHP-PFM in PHP could be made to run program as an administrator if it received specially crafted input.
Releases
Packages
- php5 - HTML-embedded scripting language interpreter
- php7.0 - HTML-embedded scripting language interpreter
- php7.2 - HTML-embedded scripting language interpreter
- php7.4 - HTML-embedded scripting language interpreter
- php8.0 - HTML-embedded scripting language interpreter
Details
It was discovered that PHP-FPM in PHP incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 21.10
Ubuntu 21.04
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 16.04
-
php7.0-fpm
-
7.0.33-0ubuntu0.16.04.16+esm2
Available with Ubuntu Pro
Ubuntu 14.04
-
php5-fpm
-
5.5.9+dfsg-1ubuntu4.29+esm15
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.