USN-7153-1: PHP vulnerability

Publication date

12 December 2024

Overview

PHP could be made to overwrite files.


Packages

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

Details

It was discovered that PHP incorrectly handled long string inputs
in two database drivers. An attacker could possibly use this
issue to write files in locations they would not normally have
access to. (CVE-2024-11236)

It was discovered that PHP incorrectly handled long string inputs
in two database drivers. An attacker could possibly use this
issue to write files in locations they would not normally have
access to. (CVE-2024-11236)

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
18.04 bionic libapache2-mod-php7.2 –  7.2.24-0ubuntu0.18.04.17+esm7  
libphp7.2-embed –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2 –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2-common –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2-dev –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2-interbase –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2-mysql –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2-pgsql –  7.2.24-0ubuntu0.18.04.17+esm7  
php7.2-sqlite3 –  7.2.24-0ubuntu0.18.04.17+esm7  
16.04 xenial libapache2-mod-php7.0 –  7.0.33-0ubuntu0.16.04.16+esm13  
libphp7.0-embed –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0 –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0-common –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0-dev –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0-interbase –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0-mysql –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0-pgsql –  7.0.33-0ubuntu0.16.04.16+esm13  
php7.0-sqlite3 –  7.0.33-0ubuntu0.16.04.16+esm13  

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 ›