Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

USN-5479-3: PHP regression

7 July 2022

USN-5479-1 was incomplete and didn't properly fix one of the addressed issues.

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Releases

Packages

  • php7.2 - HTML-embedded scripting language interpreter

Details

USN-5479-1 fixed vulnerabilities in PHP. Unfortunately that update for
CVE-2022-31625 was incomplete for Ubuntu 18.04 LTS. This update fixes
the problem.

We apologize for the inconvenience.

Original advisory details:

Charles Fol discovered that PHP incorrectly handled initializing certain
arrays when handling the pg_query_params function. A remote attacker could
use this issue to cause PHP to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2022-31625)

Charles Fol discovered that PHP incorrectly handled passwords in mysqlnd. A
remote attacker could use this issue to cause PHP to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2022-31626)

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 18.04

In general, a standard system update will make all the necessary changes.

References

Related notices

  • USN-5479-1: php7.2-xml, php7.2-gd, php8.0-dba, php7.2-cli, libapache2-mod-php8.1, php7.4-gd, php8.0-sqlite3, php7.4-snmp, php8.0-intl, php7.2-snmp, php7.2-fpm, php8.1-bz2, php7.2-gmp, php8.1-readline, php7.2-interbase, php7.2-dba, php7.2-phpdbg, php7.4-pgsql, libapache2-mod-php8.0, php7.4-xml, php8.1-pgsql, php7.4-imap, php7.4-xmlrpc, php8.1-curl, php8.0-readline, php7.4-dev, php8.0-mysql, libphp7.2-embed, php8.1-cgi, php8.0-bz2, php7.4-odbc, php8.0-ldap, php8.0-pspell, php8.0-bcmath, php8.1-zip, php8.1-mbstring, php7.4-bcmath, php7.2-pspell, php8.0-cli, libphp7.4-embed, php7.2-intl, php7.4-tidy, php7.4-interbase, php7.4-readline, php8.1-dba, php7.4-opcache, php8.0-xml, php8.0-soap, php7.2-sqlite3, libapache2-mod-php7.4, php7.2-tidy, php8.0-pgsql, php8.0-sybase, php8.1-gmp, php8.1-cli, php8.1-ldap, php8.1-sybase, php7.4-gmp, php7.2-cgi, php7.4-enchant, php7.2-mysql, php8.0-interbase, php8.1-fpm, php7.2-enchant, php7.2-odbc, php8.1-dev, libphp8.0-embed, php8.1-xml, php7.4-dba, php7.4-xsl, php7.2-json, php7.2-common, php7.4-ldap, php8.1-intl, php8.1-pspell, php8.0-tidy, php8.1-interbase, php7.4-cgi, php8.1-odbc, php7.4-sqlite3, php8.0-opcache, php8.1-sqlite3, php7.2-pgsql, php7.2-bz2, php7.2-xsl, php7.4-mysql, php7.2-sybase, php8.0-phpdbg, php7.2-dev, php7.2-xmlrpc, php8.1-xsl, php7.2-imap, php7.2, php8.0-dev, php8.0-xsl, php8.0-gmp, php7.2-zip, php7.4, php8.1-mysql, php8.0-cgi, php7.4-common, php8.0-imap, php8.1-imap, php7.4-curl, php7.4-soap, php7.2-recode, php7.4-mbstring, php8.1-gd, php7.4-intl, php8.0-mbstring, php8.1, php7.2-soap, php8.1-phpdbg, php7.2-mbstring, php8.1-soap, libapache2-mod-php7.2, php7.2-ldap, php8.0-enchant, php7.4-fpm, php8.1-enchant, php8.0-fpm, php8.0-zip, php7.4-json, php7.4-pspell, php7.2-readline, php8.0, php8.0-snmp, php7.2-opcache, php8.1-common, php8.1-snmp, php8.1-opcache, php7.4-zip, php8.0-curl, libphp8.1-embed, php7.2-curl, php7.4-cli, php7.4-sybase, php8.0-gd, php8.1-bcmath, php8.0-odbc, php7.4-phpdbg, php7.4-bz2, php8.1-tidy, php8.0-common, php7.2-bcmath
  • USN-5479-2: php7.0-dev, php7.0-recode, php7.0-mysql, php7.0-json, php7.0-odbc, php7.0-common, php7.0-intl, php7.0-phpdbg, php7.0-zip, php7.0, php7.0-gmp, php7.0-mcrypt, php7.0-snmp, php7.0-xmlrpc, php7.0-imap, php7.0-sqlite3, php7.0-interbase, php7.0-pgsql, libapache2-mod-php7.0, php7.0-tidy, php7.0-enchant, php7.0-bcmath, php7.0-xsl, php7.0-cgi, php7.0-gd, php7.0-cli, php7.0-curl, php7.0-bz2, php7.0-mbstring, php7.0-opcache, php7.0-fpm, php7.0-sybase, php7.0-soap, php7.0-dba, php7.0-readline, php7.0-xml, php7.0-ldap, php7.0-pspell, libphp7.0-embed