USN-3902-1: PHP vulnerabilities

6 March 2019

php5, php7.0 vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

Several security issues were fixed in PHP.

Software Description

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

Details

It was discovered that the PHP XML-RPC module incorrectly handled decoding XML data. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2019-9020, CVE-2019-9024)

It was discovered that the PHP PHAR module incorrectly handled certain filenames. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2019-9021)

It was discovered that PHP incorrectly parsed certain DNS responses. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2019-9022)

It was discovered that PHP incorrectly handled mbstring regular expressions. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2019-9023)

Update instructions

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

Ubuntu 16.04 LTS
libapache2-mod-php7.0 - 7.0.33-0ubuntu0.16.04.2
php7.0-cgi - 7.0.33-0ubuntu0.16.04.2
php7.0-cli - 7.0.33-0ubuntu0.16.04.2
php7.0-fpm - 7.0.33-0ubuntu0.16.04.2
php7.0-mbstring - 7.0.33-0ubuntu0.16.04.2
php7.0-xmlrpc - 7.0.33-0ubuntu0.16.04.2
Ubuntu 14.04 LTS
libapache2-mod-php5 - 5.5.9+dfsg-1ubuntu4.27
php5-cgi - 5.5.9+dfsg-1ubuntu4.27
php5-cli - 5.5.9+dfsg-1ubuntu4.27
php5-fpm - 5.5.9+dfsg-1ubuntu4.27
php5-xmlrpc - 5.5.9+dfsg-1ubuntu4.27

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References