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: libpython3.6-stdlib, python3.6, idle-python3.6, python3.8, python3.8-dev, libpython3.6-dev, idle-python2.7, python2.7, python3.10-examples, python3.6-venv, python3.10-doc, libpython3.6, libpython3.10, libpython2.7-stdlib, python3.6-minimal, python3.10-full, libpython3.10-minimal, python2.7-dev, python3.10-nopie, idle-python3.8, python3.10-dev, python3.6-dev, libpython3.10-testsuite, libpython3.10-dev, python3.10-minimal, python3.8-venv, python2.7-doc, python2.7-examples, libpython3.6-minimal, libpython3.6-testsuite, libpython2.7, libpython3.8-dev, python2.7-minimal, libpython3.8-minimal, libpython2.7-dev, libpython3.8, python3.8-full, python3.6-examples, libpython3.8-testsuite, python3.10, python3.6-doc, python3.10-venv, python3.8-examples, libpython3.8-stdlib, libpython3.10-stdlib, python3.8-doc, libpython2.7-minimal, libpython2.7-testsuite, idle-python3.10, python3.8-minimal
- USN-5888-1: python3.9-minimal, libpython3.9-stdlib, python3.9-doc, libpython3.9-testsuite, python3.9-full, python3.9-venv, libpython3.9-dev, idle-python3.9, python3.9-examples, libpython3.9, python3.9, python3.9-dev, libpython3.9-minimal
- USN-5767-3: libpython3.6-stdlib, python3.6-doc, libpython3.6-minimal, idle-python3.6, libpython3.6-testsuite, python3.6-examples, python3.6-minimal, libpython3.6-dev, python3.6-venv, python3.6-dev, python3.6, libpython3.6
- USN-5930-1: python3.7, python3.7-examples, python3.7-venv, python3.7-dev, libpython3.7, python3.7-minimal, libpython3.7-dev, libpython3.7-minimal, python3.7-doc, libpython3.7-stdlib, libpython3.7-testsuite, idle-python3.7
- USN-5931-1: libpython3.8-testsuite, python3.8-venv, libpython3.8-dev, python3.8, python3.8-examples, python3.8-dev, libpython3.8-minimal, libpython3.8-stdlib, libpython3.8, idle-python3.8, python3.8-minimal
- USN-6524-1: pypy3-doc, pypy3-venv, pypy3-lib-testsuite, pypy3-tk, pypy3-dev, pypy3, pypy3-lib
- USN-6525-1: python3-sha3, pysha3
- USN-5905-1: php7.0-xmlrpc, php7.0-gmp, php7.0-mbstring, php7.0-recode, php7.0-enchant, php7.0-readline, php7.0-pspell, php7.0-dev, php7.0-imap, php7.0-fpm, php7.0-opcache, php7.0-mcrypt, php7.0, php7.0-xsl, php7.0-intl, php7.0-xml, php7.0-cgi, php7.0-sybase, php7.0-snmp, php7.0-zip, libphp7.0-embed, libapache2-mod-php7.0, php7.0-dba, php7.0-phpdbg, php7.0-cli, php7.0-curl, php7.0-interbase, php7.0-pgsql, php7.0-odbc, php7.0-bcmath, php7.0-mysql, php7.0-gd, php7.0-json, php7.0-sqlite3, php7.0-soap, php7.0-bz2, php7.0-common, php7.0-ldap, php7.0-tidy