USN-5902-1: PHP vulnerabilities
28 February 2023
Several security issues were fixed in PHP.
Releases
Packages
- php7.2 - HTML-embedded scripting language interpreter
- php7.4 - HTML-embedded scripting language interpreter
- php8.1 - HTML-embedded scripting language interpreter
Details
It was discovered that PHP incorrectly handled certain invalid Blowfish
password hashes. An invalid password hash could possibly allow applications
to accept any password as valid, contrary to expectations. (CVE-2023-0567)
It was discovered that PHP incorrectly handled resolving long paths. A
remote attacker could possibly use this issue to obtain or modify sensitive
information. (CVE-2023-0568)
It was discovered that PHP incorrectly handled a large number of parts in
HTTP form uploads. A remote attacker could possibly use this issue to cause
PHP to consume resources, leading to a denial of service. (CVE-2023-0662)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.10
-
php8.1-fpm
-
8.1.7-1ubuntu3.3
-
php8.1-cli
-
8.1.7-1ubuntu3.3
-
php8.1-cgi
-
8.1.7-1ubuntu3.3
-
php8.1
-
8.1.7-1ubuntu3.3
-
libapache2-mod-php8.1
-
8.1.7-1ubuntu3.3
Ubuntu 22.04
-
php8.1-fpm
-
8.1.2-1ubuntu2.11
-
php8.1-cli
-
8.1.2-1ubuntu2.11
-
php8.1-cgi
-
8.1.2-1ubuntu2.11
-
php8.1
-
8.1.2-1ubuntu2.11
-
libapache2-mod-php8.1
-
8.1.2-1ubuntu2.11
Ubuntu 20.04
-
libapache2-mod-php7.4
-
7.4.3-4ubuntu2.18
-
php7.4-cgi
-
7.4.3-4ubuntu2.18
-
php7.4
-
7.4.3-4ubuntu2.18
-
php7.4-fpm
-
7.4.3-4ubuntu2.18
-
php7.4-cli
-
7.4.3-4ubuntu2.18
Ubuntu 18.04
-
php7.2-fpm
-
7.2.24-0ubuntu0.18.04.17
-
php7.2-cli
-
7.2.24-0ubuntu0.18.04.17
-
php7.2
-
7.2.24-0ubuntu0.18.04.17
-
php7.2-cgi
-
7.2.24-0ubuntu0.18.04.17
-
libapache2-mod-php7.2
-
7.2.24-0ubuntu0.18.04.17
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-5905-1: php7.0-soap, php7.0-interbase, php7.0-dba, php7.0-xmlrpc, php7.0-sqlite3, php7.0-mbstring, php7.0-odbc, php7.0-bcmath, php7.0-gd, libphp7.0-embed, php7.0-cgi, php7.0-xsl, php7.0-phpdbg, php7.0-gmp, php7.0-dev, php7.0-imap, php7.0-cli, php7.0-json, php7.0-xml, php7.0-pgsql, php7.0-pspell, php7.0-common, php7.0, php7.0-sybase, php7.0-snmp, php7.0-intl, php7.0-curl, php7.0-enchant, php7.0-opcache, php7.0-tidy, php7.0-ldap, php7.0-fpm, php7.0-mysql, php7.0-readline, php7.0-zip, libapache2-mod-php7.0, php7.0-mcrypt, php7.0-bz2, php7.0-recode
- USN-6053-1: php7.0-soap, php7.0-interbase, php7.0-dba, php7.0-xmlrpc, php7.0-sqlite3, php7.0-mbstring, php7.0-odbc, php7.0-bcmath, php7.0-gd, libphp7.0-embed, php7.0-cgi, php7.0-xsl, php7.0-phpdbg, php7.0-gmp, php7.0-dev, php7.0-imap, php7.0-cli, php7.0-json, php7.0-xml, php7.0-pgsql, php7.0-pspell, php7.0-common, php7.0, php7.0-sybase, php7.0-snmp, php7.0-intl, php7.0-curl, php7.0-enchant, php7.0-opcache, php7.0-tidy, php7.0-ldap, php7.0-fpm, php7.0-mysql, php7.0-readline, php7.0-zip, libapache2-mod-php7.0, php7.0-mcrypt, php7.0-bz2, php7.0-recode