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: php5-enchant, php5-sybase, php5-intl, php5-dev, php5-tidy, php5-odbc, php5-pgsql, php5-fpm, php5-gd, php5-gmp, php5-readline, php5-curl, php5-cgi, php5-pspell, php5-common, php-pear, libapache2-mod-php5filter, php5-xsl, php5-mysqlnd, libapache2-mod-php5, php5-mysql, php5, php5-snmp, php5-ldap, php5-cli, php5-recode, libphp5-embed, php5-xmlrpc, php5-sqlite
  • USN-3600-2: php5-cgi, php5, php5-cli, php5-fpm, libapache2-mod-php5
  • USN-3600-1: php5-enchant, php7.0-mcrypt, php7.0-common, php7.1, php7.0-recode, php7.0-enchant, php7.1-fpm, php7.0-cgi, php5-sybase, php7.0-opcache, php5-intl, php5-dev, php5-tidy, php7.0-gmp, php7.0-readline, php5-odbc, php7.0-xsl, php7.0-imap, php7.0-soap, php7.0-bcmath, php7.0-cli, libapache2-mod-php7.1, php7.0-sqlite3, php5-pgsql, php7.0-dba, php5-fpm, php7.0-mysql, php5-gd, php5-gmp, php7.0-snmp, php7.0-curl, php7.1-cli, php7.0-intl, php5-readline, php7.0-tidy, php5-curl, php7.0-bz2, php7.0-pspell, libphp7.0-embed, php5-cgi, php5-pspell, php5-common, php7.0, php-pear, libapache2-mod-php5filter, php7.0-interbase, php7.0-dev, php7.0-ldap, php7.0-mbstring, php5-xsl, php7.0-fpm, libapache2-mod-php5, php5-mysqlnd, php7.0-sybase, php5-mysql, php7.0-odbc, php5, php5-snmp, php7.0-pgsql, libapache2-mod-php7.0, php5-cli, php5-ldap, php7.0-phpdbg, php5-recode, libphp5-embed, php7.0-xmlrpc, php7.0-zip, php7.1-cgi, php7.0-gd, php5-xmlrpc, php7.0-xml, php7.0-json, php5-sqlite