USN-6305-2: PHP vulnerabilities

Publication date

27 February 2024

Overview

Several security issues were fixed in PHP.


Packages

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

Details

USN-6305-1 fixed several vulnerabilities in PHP. This update provides
the corresponding update for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.

Original advisory details:

It was discovered that PHP incorrectly handled certain XML files.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2023-3823)

It was discovered that PHP incorrectly handled certain PHAR files.
An attacker could possibly use this issue to cause a crash,
expose sensitive information or execute arbitrary code.
(CVE-2023-3824)

USN-6305-1 fixed several vulnerabilities in PHP. This update provides
the corresponding update for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.

Original advisory details:

It was discovered that PHP incorrectly handled certain XML files.
An attacker could possibly use this issue to expose sensitive information.
(CVE-2023-3823)

It was discovered that PHP incorrectly handled certain PHAR files.
An attacker could possibly use this issue to cause a crash,
expose sensitive information or execute arbitrary code.
(CVE-2023-3824)

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
20.04 focal libapache2-mod-php7.4 –  7.4.3-4ubuntu2.20
php7.4 –  7.4.3-4ubuntu2.20
php7.4-cgi –  7.4.3-4ubuntu2.20
php7.4-cli –  7.4.3-4ubuntu2.20
php7.4-fpm –  7.4.3-4ubuntu2.20
php7.4-xml –  7.4.3-4ubuntu2.20
18.04 bionic libapache2-mod-php7.2 –  7.2.24-0ubuntu0.18.04.17+esm2  
php7.2 –  7.2.24-0ubuntu0.18.04.17+esm2  
php7.2-cgi –  7.2.24-0ubuntu0.18.04.17+esm2  
php7.2-cli –  7.2.24-0ubuntu0.18.04.17+esm2  
php7.2-fpm –  7.2.24-0ubuntu0.18.04.17+esm2  
php7.2-xml –  7.2.24-0ubuntu0.18.04.17+esm2  
16.04 xenial libapache2-mod-php7.0 –  7.0.33-0ubuntu0.16.04.16+esm8  
php7.0 –  7.0.33-0ubuntu0.16.04.16+esm8  
php7.0-cgi –  7.0.33-0ubuntu0.16.04.16+esm8  
php7.0-cli –  7.0.33-0ubuntu0.16.04.16+esm8  
php7.0-fpm –  7.0.33-0ubuntu0.16.04.16+esm8  
php7.0-xml –  7.0.33-0ubuntu0.16.04.16+esm8  

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 ›