USN-5125-1: PHP vulnerability

Publication date

27 October 2021

Overview

PHP-PFM in PHP could be made to run program as an administrator if it received specially crafted input.


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.

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

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
21.10 impish php8.0-fpm –  8.0.8-1ubuntu0.1
21.04 hirsute php7.4-fpm –  7.4.16-1ubuntu2.2
20.04 focal php7.4-fpm –  7.4.3-4ubuntu2.7
18.04 bionic php7.2-fpm –  7.2.24-0ubuntu0.18.04.10
16.04 xenial php7.0-fpm –  7.0.33-0ubuntu0.16.04.16+esm2  
14.04 trusty php5-fpm –  5.5.9+dfsg-1ubuntu4.29+esm15  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›