USN-5717-1: PHP vulnerabilities
8 November 2022
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 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 the data
(CVE-2022-31629)
It was discovered that PHP incorrectly handled certain image fonts.
An attacker could possibly use this issue to expose sensitive information.
This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.10, and Ubuntu 22.04 LTS.
(CVE-2022-31630)
Nicky Mouha discovered that PHP incorrectly handled certain SHA-3 operations.
An attacker could possibly use this issue to cause a crash
or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS,
Ubuntu 22.10, and Ubuntu 22.04 LTS. (CVE-2022-37454)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.10
-
php8.1-cli
-
8.1.7-1ubuntu3.1
-
php8.1
-
8.1.7-1ubuntu3.1
-
libapache2-mod-php7.4
-
8.1.7-1ubuntu3.1
-
libapache2-mod-php8.0
-
8.1.7-1ubuntu3.1
-
libapache2-mod-php8.1
-
8.1.7-1ubuntu3.1
-
php8.1-zip
-
8.1.7-1ubuntu3.1
-
php8.1-cgi
-
8.1.7-1ubuntu3.1
Ubuntu 22.04
-
php8.1-cli
-
8.1.2-1ubuntu2.8
-
php8.1
-
8.1.2-1ubuntu2.8
-
libapache2-mod-php7.4
-
8.1.2-1ubuntu2.8
-
libapache2-mod-php8.0
-
8.1.2-1ubuntu2.8
-
libapache2-mod-php8.1
-
8.1.2-1ubuntu2.8
-
php8.1-zip
-
8.1.2-1ubuntu2.8
-
php8.1-cgi
-
8.1.2-1ubuntu2.8
Ubuntu 20.04
-
libapache2-mod-php7.4
-
7.4.3-4ubuntu2.15
-
php7.4-zip
-
7.4.3-4ubuntu2.15
-
php7.4-cgi
-
7.4.3-4ubuntu2.15
-
php7.4
-
7.4.3-4ubuntu2.15
-
php7.4-cli
-
7.4.3-4ubuntu2.15
Ubuntu 18.04
-
php7.2-cli
-
7.2.24-0ubuntu0.18.04.15
-
php7.2
-
7.2.24-0ubuntu0.18.04.15
-
libapache2-mod-php7.2
-
7.2.24-0ubuntu0.18.04.15
-
php7.2-cgi
-
7.2.24-0ubuntu0.18.04.15
-
php7.2-zip
-
7.2.24-0ubuntu0.18.04.15
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-5767-1: libpython2.7-stdlib, libpython3.10, libpython2.7-testsuite, python3.8-dev, idle-python3.10, python2.7, python3.8-examples, python2.7-minimal, libpython3.10-dev, python3.6-doc, python3.10-full, libpython3.10-testsuite, idle-python3.6, python2.7-doc, python2.7-examples, python3.6-dev, python3.10-dev, python3.8-full, idle-python2.7, libpython3.10-minimal, libpython3.8-dev, libpython3.8-testsuite, python3.8-venv, python3.8-minimal, libpython3.6-dev, python3.6-venv, python3.8, libpython2.7-dev, libpython3.6-stdlib, python3.10-nopie, python3.8-doc, libpython3.6-minimal, libpython3.6, python3.10-doc, idle-python3.8, python3.6-examples, python3.10, python3.6, libpython3.8-stdlib, python3.6-minimal, libpython2.7, libpython3.8-minimal, libpython3.8, python3.10-examples, python2.7-dev, python3.10-venv, python3.10-minimal, libpython3.6-testsuite, libpython3.10-stdlib, libpython2.7-minimal
- USN-5888-1: python3.9-dev, python3.9-examples, libpython3.9-testsuite, python3.9-doc, libpython3.9, python3.9-full, python3.9-venv, libpython3.9-minimal, libpython3.9-dev, python3.9-minimal, python3.9, libpython3.9-stdlib, idle-python3.9
- USN-5767-3: python3.6-examples, idle-python3.6, python3.6, libpython3.6-dev, python3.6-venv, python3.6-minimal, libpython3.6-stdlib, python3.6-dev, libpython3.6-testsuite, libpython3.6-minimal, python3.6-doc, libpython3.6
- USN-5930-1: libpython3.7-testsuite, idle-python3.7, libpython3.7-dev, libpython3.7-minimal, python3.7-examples, python3.7-doc, python3.7-dev, libpython3.7, python3.7-venv, python3.7, libpython3.7-stdlib, python3.7-minimal
- USN-5931-1: idle-python3.8, libpython3.8-dev, libpython3.8-testsuite, python3.8-venv, python3.8-minimal, libpython3.8-stdlib, python3.8, libpython3.8-minimal, libpython3.8, python3.8-dev, python3.8-examples
- USN-6524-1: pypy3-tk, pypy3-lib-testsuite, pypy3, pypy3-doc, pypy3-lib, pypy3-venv, pypy3-dev
- USN-6525-1: pysha3, python3-sha3
- USN-5905-1: php7.0-xsl, php7.0-interbase, php7.0-cli, php7.0-odbc, php7.0-common, libapache2-mod-php7.0, php7.0-cgi, php7.0-ldap, php7.0-zip, php7.0-bcmath, php7.0-enchant, php7.0-dba, php7.0-mbstring, php7.0-snmp, php7.0-gmp, php7.0-mysql, php7.0-xml, php7.0-intl, php7.0-dev, php7.0-fpm, php7.0-json, php7.0-xmlrpc, php7.0, php7.0-soap, php7.0-pspell, php7.0-imap, php7.0-recode, php7.0-gd, php7.0-phpdbg, php7.0-bz2, php7.0-pgsql, php7.0-readline, php7.0-mcrypt, php7.0-sqlite3, php7.0-sybase, php7.0-curl, libphp7.0-embed, php7.0-tidy, php7.0-opcache