USN-5303-1: PHP vulnerability

Publication date

28 February 2022

Overview

PHP could be made to crash or run programs if it received specially crafted input.


Packages

  • php7.4 - HTML-embedded scripting language interpreter
  • php8.0 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP incorrectly handled certain scripts.
An attacker could possibly use this issue to cause a denial of service,
or possibly execute arbitrary code.

It was discovered that PHP incorrectly handled certain scripts.
An attacker could possibly use this issue to cause a denial of service,
or possibly 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.2
php8.0-cli –  8.0.8-1ubuntu0.2
php8.0-cgi –  8.0.8-1ubuntu0.2
20.04 focal php7.4-cgi –  7.4.3-4ubuntu2.9
php7.4-fpm –  7.4.3-4ubuntu2.9
php7.4-cli –  7.4.3-4ubuntu2.9

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 ›