USN-3600-1: PHP vulnerabilities
19 March 2018
Several security issues were fixed in PHP.
Releases
Packages
- php5 - HTML-embedded scripting language interpreter
- php7.0 - HTML-embedded scripting language interpreter
- php7.1 - HTML-embedded scripting language interpreter
Details
It was discovered that PHP incorrectly handled certain stream metadata. A
remote attacker could possibly use this issue to set arbitrary metadata.
This issue only affected Ubuntu 14.04 LTS. (CVE-2016-10712)
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. This issue only affected Ubuntu 16.04 LTS and
Ubuntu 17.10. (CVE-2018-5712)
It was discovered that PHP incorrectly handled parsing certain HTTP
responses. A remote attacker could use this issue to cause PHP to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2018-7584)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 17.10
-
libapache2-mod-php7.1
-
7.1.15-0ubuntu0.17.10.1
-
php7.1-cgi
-
7.1.15-0ubuntu0.17.10.1
-
php7.1-cli
-
7.1.15-0ubuntu0.17.10.1
-
php7.1-fpm
-
7.1.15-0ubuntu0.17.10.1
Ubuntu 16.04
-
libapache2-mod-php7.0
-
7.0.28-0ubuntu0.16.04.1
-
php7.0-cgi
-
7.0.28-0ubuntu0.16.04.1
-
php7.0-cli
-
7.0.28-0ubuntu0.16.04.1
-
php7.0-fpm
-
7.0.28-0ubuntu0.16.04.1
Ubuntu 14.04
-
libapache2-mod-php5
-
5.5.9+dfsg-1ubuntu4.24
-
php5-cgi
-
5.5.9+dfsg-1ubuntu4.24
-
php5-cli
-
5.5.9+dfsg-1ubuntu4.24
-
php5-fpm
-
5.5.9+dfsg-1ubuntu4.24
In Ubuntu 16.04 LTS and Ubuntu 17.10, this update uses a new upstream
release, which includes additional bug fixes.
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-3566-2: php5-ldap, php5-recode, php5-common, php5-snmp, php5-sybase, libapache2-mod-php5filter, php5-enchant, php5-xsl, php5-gd, php5, php5-xmlrpc, php5-pspell, php5-pgsql, php5-tidy, php5-intl, php5-cli, php5-mysql, php5-curl, php5-sqlite, libapache2-mod-php5, libphp5-embed, php5-dev, php5-mysqlnd, php5-cgi, php5-fpm, php5-readline, php5-odbc, php5-gmp, php-pear
- USN-3600-2: php5, php5-cli, libapache2-mod-php5, php5-cgi, php5-fpm
- USN-3566-1: php5-ldap, php5-recode, php5-common, php5-snmp, php5-sybase, libapache2-mod-php5filter, php5-enchant, php5-xsl, php5-gd, php5, php5-xmlrpc, php5-pspell, php5-pgsql, php5-tidy, php5-intl, php5-cli, php5-mysql, php5-curl, php5-sqlite, libapache2-mod-php5, libphp5-embed, php5-dev, php5-mysqlnd, php5-cgi, php5-fpm, php5-readline, php5-odbc, php5-gmp, php-pear