USN-5006-1: PHP vulnerabilities
7 July 2021
Several security issues were fixed in PHP.
Releases
Packages
- php7.2 - HTML-embedded scripting language interpreter
- php7.4 - HTML-embedded scripting language interpreter
Details
It was discovered that PHP incorrectly handled certain PHAR files. A remote
attacker could possibly use this issue to cause PHP to crash, resulting in
a denial of service, or possibly obtain sensitive information. This issue
only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-7068)
It was discovered that PHP incorrectly handled parsing URLs with passwords.
A remote attacker could possibly use this issue to cause PHP to mis-parse
the URL and produce wrong data. This issue only affected Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, and Ubuntu 20.10. (CVE-2020-7071)
It was discovered that PHP incorrectly handled certain malformed XML data
when being parsed by the SOAP extension. A remote attacker could possibly
use this issue to cause PHP to crash, resulting in a denial of service.
This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu
20.10. (CVE-2021-21702)
It was discovered that PHP incorrectly handled the pdo_firebase module. A
remote attacker could possibly use this issue to cause PHP to crash,
resulting in a denial of service. (CVE-2021-21704)
It was discovered that PHP incorrectly handled the FILTER_VALIDATE_URL
check. A remote attacker could possibly use this issue to perform a server-
side request forgery attack. (CVE-2021-21705)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 21.04
-
libapache2-mod-php7.4
-
7.4.16-1ubuntu2.1
-
php7.4-cgi
-
7.4.16-1ubuntu2.1
-
php7.4-fpm
-
7.4.16-1ubuntu2.1
-
php7.4-cli
-
7.4.16-1ubuntu2.1
Ubuntu 20.10
-
libapache2-mod-php7.4
-
7.4.9-1ubuntu1.2
-
php7.4-cgi
-
7.4.9-1ubuntu1.2
-
php7.4-fpm
-
7.4.9-1ubuntu1.2
-
php7.4-cli
-
7.4.9-1ubuntu1.2
Ubuntu 20.04
-
libapache2-mod-php7.4
-
7.4.3-4ubuntu2.5
-
php7.4-cgi
-
7.4.3-4ubuntu2.5
-
php7.4-fpm
-
7.4.3-4ubuntu2.5
-
php7.4-cli
-
7.4.3-4ubuntu2.5
Ubuntu 18.04
-
php7.2-fpm
-
7.2.24-0ubuntu0.18.04.8
-
php7.2-cli
-
7.2.24-0ubuntu0.18.04.8
-
libapache2-mod-php7.2
-
7.2.24-0ubuntu0.18.04.8
-
php7.2-cgi
-
7.2.24-0ubuntu0.18.04.8
In general, a standard system update will make all the necessary changes.
Related notices
- USN-5006-2: php5-recode, php5-dev, php5-pspell, php5-odbc, php7.0-sybase, php7.0-xsl, php7.0-mcrypt, php-pear, php7.0-soap, php5-curl, php7.0-gd, php5, php7.0-readline, php5-enchant, php5-mysql, php7.0-json, php7.0-xml, php7.0, php5-common, php5-pgsql, php7.0-mbstring, php7.0-gmp, php5-fpm, php7.0-common, php5-gmp, php7.0-zip, php7.0-pgsql, php7.0-ldap, php7.0-interbase, php5-ldap, php7.0-dev, php7.0-tidy, php7.0-imap, php7.0-bcmath, php7.0-cgi, php7.0-sqlite3, php5-tidy, php7.0-bz2, php7.0-pspell, php5-intl, php5-gd, php7.0-phpdbg, libapache2-mod-php7.0, php7.0-recode, php5-sybase, php7.0-fpm, php5-mysqlnd, php7.0-enchant, libapache2-mod-php5, libapache2-mod-php5filter, php7.0-odbc, php7.0-dba, libphp5-embed, php5-cgi, libphp7.0-embed, php5-cli, php5-snmp, php5-readline, php5-xmlrpc, php5-xsl, php7.0-cli, php7.0-curl, php7.0-intl, php7.0-mysql, php7.0-snmp, php7.0-opcache, php7.0-xmlrpc, php5-sqlite