USN-3566-1: PHP vulnerabilities

12 February 2018

Several security issues were fixed in PHP.

Releases

Packages

  • php5 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP incorrectly handled the PHAR 404 error page. A
remote attacker could possibly use this issue to conduct cross-site
scripting (XSS) attacks. (CVE-2018-5712)

It was discovered that PHP incorrectly handled memory when unserializing
certain data. A remote attacker could use this issue to cause PHP to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2017-12933)

It was discovered that PHP incorrectly handled 'front of' and 'back of'
date directives. A remote attacker could possibly use this issue to obtain
sensitive information. (CVE-2017-16642)

Update instructions

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

Ubuntu 14.04

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

Related notices

  • USN-3566-2: libapache2-mod-php5, php5-cgi, php5, php5-fpm, php5-cli
  • USN-3600-2: libapache2-mod-php5, php5-cgi, php5, php5-fpm, php5-cli
  • USN-3600-1: libapache2-mod-php7.1, libapache2-mod-php5, php7.0-cli, php5-cli, php7.0, php7.0-cgi, php7.0-fpm, php5, php7.1, libapache2-mod-php7.0, php7.1-cgi, php7.1-fpm, php5-fpm, php7.1-cli, php5-cgi