USN-5905-1: PHP vulnerabilities
2 March 2023
Several security issues were fixed in PHP.
Releases
Packages
- php7.0 - HTML-embedded scripting language interpreter
Details
It was discovered that PHP incorrectly handled certain gzip files.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2022-31628)
It was discovered that PHP incorrectly handled certain cookies.
An attacker could possibly use this issue to compromise data integrity.
(CVE-2022-31629)
It was discovered that PHP incorrectly handled certain inputs.
An attacker could possibly use this issue to cause a crash or
execute arbitrary code. (CVE-2022-31631)
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 field and file
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 16.04
-
php7.0-cgi
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
-
php7.0-fpm
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
-
php7.0-cli
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
-
php7.0-sqlite3
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
-
libapache2-mod-php7.0
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
-
php7.0-zip
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
-
php7.0
-
7.0.33-0ubuntu0.16.04.16+esm5
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
Related notices
- USN-5902-1: php8.1-gmp, php8.1-zip, php7.4-snmp, php8.1, php7.4-cli, php7.2-dev, php7.2-mbstring, libapache2-mod-php7.4, libapache2-mod-php7.2, php8.1-pspell, php7.4-sqlite3, php7.2-interbase, php7.2-xml, php7.2-imap, php7.2-gd, php7.4-common, php7.4-mbstring, libapache2-mod-php8.1, php8.1-dev, php7.4-zip, php7.2-fpm, php7.4-soap, php7.4-json, php7.4-imap, php7.2-json, php8.1-curl, php7.2-gmp, php7.4-fpm, php7.4-gd, php8.1-cli, php7.2-soap, php7.2-bz2, php7.4-interbase, php7.4-dba, php7.4-opcache, php7.4-cgi, php7.4-bz2, php8.1-fpm, php7.2-opcache, php7.2-readline, php7.4-intl, php8.1-phpdbg, php7.2-cgi, php8.1-mysql, php7.2-xsl, php8.1-mbstring, php7.2-ldap, php8.1-sybase, php7.2-xmlrpc, libphp7.2-embed, php7.2-zip, php8.1-snmp, php7.4-xml, php7.2-phpdbg, php7.2-enchant, php7.4-phpdbg, php7.2-sybase, php7.2-odbc, php7.2-sqlite3, php7.4-enchant, php7.4-bcmath, libphp7.4-embed, php7.2-pgsql, php8.1-ldap, php8.1-intl, php7.4-curl, php7.4-sybase, php8.1-bcmath, php8.1-tidy, php8.1-sqlite3, php8.1-xml, php7.2-dba, libphp8.1-embed, php8.1-dba, php8.1-gd, php8.1-soap, php8.1-common, php8.1-enchant, php7.2-tidy, php7.4-tidy, php8.1-pgsql, php8.1-bz2, php7.4, php7.2-bcmath, php7.2-mysql, php8.1-cgi, php7.4-odbc, php7.4-mysql, php7.2-cli, php7.4-xmlrpc, php7.2-curl, php7.2-intl, php7.4-dev, php8.1-xsl, php7.2-common, php8.1-opcache, php8.1-interbase, php7.4-pgsql, php8.1-odbc, php7.4-pspell, php7.2-pspell, php7.4-gmp, php7.2-snmp, php8.1-imap, libapache2-mod-php8.0, php7.4-ldap, php7.2-recode, php8.1-readline, php7.4-readline, php7.4-xsl, php7.2
- USN-5717-1: php8.1-gmp, php8.1-zip, php7.4-snmp, php8.1, php7.4-cli, php7.2-dev, php7.2-mbstring, libapache2-mod-php7.4, libapache2-mod-php7.2, php8.1-pspell, php7.4-sqlite3, php7.2-interbase, php7.2-xml, php7.2-imap, php7.2-gd, php7.4-common, php7.4-mbstring, libapache2-mod-php8.1, php8.1-dev, php7.4-zip, php7.2-fpm, php7.4-soap, php7.4-json, php7.4-imap, php7.2-json, php8.1-curl, php7.2-gmp, php7.4-fpm, php7.4-gd, php8.1-cli, php7.2-soap, php7.2-bz2, php7.4-interbase, php7.4-dba, php7.4-opcache, php7.4-cgi, php7.4-bz2, php8.1-fpm, php7.2-opcache, php7.2-readline, php7.4-intl, php8.1-phpdbg, php7.2-cgi, php8.1-mysql, php7.2-xsl, php8.1-mbstring, php7.2-ldap, php8.1-sybase, php7.2-xmlrpc, libphp7.2-embed, php7.2-zip, php8.1-snmp, php7.4-xml, php7.2-phpdbg, php7.2-enchant, php7.4-phpdbg, php7.2-sybase, php7.2-odbc, php7.2-sqlite3, php7.4-enchant, php7.4-bcmath, libphp7.4-embed, php7.2-pgsql, php8.1-ldap, php8.1-intl, php7.4-curl, php7.4-sybase, php8.1-bcmath, php8.1-tidy, php8.1-sqlite3, php8.1-xml, php7.2-dba, libphp8.1-embed, php8.1-dba, php8.1-gd, php8.1-soap, php8.1-common, php8.1-enchant, php7.2-tidy, php7.4-tidy, php8.1-pgsql, php8.1-bz2, php7.4, php7.2-bcmath, php7.2-mysql, php8.1-cgi, php7.4-odbc, php7.4-mysql, php7.2-cli, php7.4-xmlrpc, php7.2-curl, php7.2-intl, php7.4-dev, php8.1-xsl, php7.2-common, php8.1-opcache, php8.1-interbase, php7.4-pgsql, php8.1-odbc, php7.4-pspell, php7.2-pspell, php7.4-gmp, php7.2-snmp, php8.1-imap, libapache2-mod-php8.0, php7.4-ldap, php7.2-recode, php8.1-readline, php7.4-readline, php7.4-xsl, php7.2
- USN-5818-1: php8.1-gmp, php8.1-zip, php7.4-snmp, php8.1, php7.4-cli, php7.2-dev, php7.2-mbstring, libapache2-mod-php7.4, libapache2-mod-php7.2, php8.1-pspell, php7.4-sqlite3, php7.2-interbase, php7.2-xml, php7.2-imap, php7.2-gd, php7.4-common, php7.4-mbstring, libapache2-mod-php8.1, php8.1-dev, php7.4-zip, php7.2-fpm, php7.4-soap, php7.4-json, php7.4-imap, php7.2-json, php8.1-curl, php7.2-gmp, php7.4-fpm, php7.4-gd, php8.1-cli, php7.2-soap, php7.2-bz2, php7.4-interbase, php7.4-dba, php7.4-opcache, php7.4-cgi, php7.4-bz2, php8.1-fpm, php7.2-opcache, php7.2-readline, php7.4-intl, php8.1-phpdbg, php7.2-cgi, php8.1-mysql, php7.2-xsl, php8.1-mbstring, php7.2-ldap, php8.1-sybase, php7.2-xmlrpc, libphp7.2-embed, php7.2-zip, php8.1-snmp, php7.4-xml, php7.2-phpdbg, php7.2-enchant, php7.4-phpdbg, php7.2-sybase, php7.2-odbc, php7.2-sqlite3, php7.4-enchant, php7.4-bcmath, libphp7.4-embed, php7.2-pgsql, php8.1-ldap, php8.1-intl, php7.4-curl, php7.4-sybase, php8.1-bcmath, php8.1-tidy, php8.1-sqlite3, php8.1-xml, php7.2-dba, libphp8.1-embed, php8.1-dba, php8.1-gd, php8.1-soap, php8.1-common, php8.1-enchant, php7.2-tidy, php7.4-tidy, php8.1-pgsql, php8.1-bz2, php7.4, php7.2-bcmath, php7.2-mysql, php8.1-cgi, php7.4-odbc, php7.4-mysql, php7.2-cli, php7.4-xmlrpc, php7.2-curl, php7.2-intl, php7.4-dev, php8.1-xsl, php7.2-common, php8.1-opcache, php8.1-interbase, php7.4-pgsql, php8.1-odbc, php7.4-pspell, php7.2-pspell, php7.4-gmp, php7.2-snmp, php8.1-imap, libapache2-mod-php8.0, php7.4-ldap, php7.2-recode, php8.1-readline, php7.4-readline, php7.4-xsl, php7.2