USN-6757-1: PHP vulnerabilities
29 April 2024
Several security issues were fixed in PHP.
Releases
Packages
- php7.0 - HTML-embedded scripting language interpreter
- 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 PHP_CLI_SERVER_WORKERS variable.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. This issue only affected Ubuntu 20.04 LTS, and
Ubuntu 22.04 LTS. (CVE-2022-4900)
It was discovered that PHP incorrectly handled certain cookies.
An attacker could possibly use this issue to cookie by pass.
(CVE-2024-2756)
It was discovered that PHP incorrectly handled some passwords.
An attacker could possibly use this issue to cause an account takeover
attack. (CVE-2024-3096)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.04
-
libapache2-mod-php8.1
-
8.1.2-1ubuntu2.16
-
php8.1
-
8.1.2-1ubuntu2.16
-
php8.1-cgi
-
8.1.2-1ubuntu2.16
-
php8.1-cli
-
8.1.2-1ubuntu2.16
-
php8.1-fpm
-
8.1.2-1ubuntu2.16
-
php8.1-xml
-
8.1.2-1ubuntu2.16
Ubuntu 20.04
-
libapache2-mod-php7.4
-
7.4.3-4ubuntu2.21
-
php7.4
-
7.4.3-4ubuntu2.21
-
php7.4-cgi
-
7.4.3-4ubuntu2.21
-
php7.4-cli
-
7.4.3-4ubuntu2.21
-
php7.4-fpm
-
7.4.3-4ubuntu2.21
-
php7.4-xml
-
7.4.3-4ubuntu2.21
Ubuntu 18.04
-
libapache2-mod-php7.2
-
7.2.24-0ubuntu0.18.04.17+esm3
Available with Ubuntu Pro
-
php7.2
-
7.2.24-0ubuntu0.18.04.17+esm3
Available with Ubuntu Pro
-
php7.2-cgi
-
7.2.24-0ubuntu0.18.04.17+esm3
Available with Ubuntu Pro
-
php7.2-cli
-
7.2.24-0ubuntu0.18.04.17+esm3
Available with Ubuntu Pro
-
php7.2-fpm
-
7.2.24-0ubuntu0.18.04.17+esm3
Available with Ubuntu Pro
-
php7.2-xml
-
7.2.24-0ubuntu0.18.04.17+esm3
Available with Ubuntu Pro
Ubuntu 16.04
-
libapache2-mod-php7.0
-
7.0.33-0ubuntu0.16.04.16+esm9
Available with Ubuntu Pro
-
php7.0
-
7.0.33-0ubuntu0.16.04.16+esm9
Available with Ubuntu Pro
-
php7.0-cgi
-
7.0.33-0ubuntu0.16.04.16+esm9
Available with Ubuntu Pro
-
php7.0-cli
-
7.0.33-0ubuntu0.16.04.16+esm9
Available with Ubuntu Pro
-
php7.0-fpm
-
7.0.33-0ubuntu0.16.04.16+esm9
Available with Ubuntu Pro
-
php7.0-xml
-
7.0.33-0ubuntu0.16.04.16+esm9
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-6757-2: php7.4-json, php7.4-xml, php8.2-curl, php7.4-readline, php7.4-xmlrpc, php8.2-snmp, php8.2-mysql, php8.2-dba, php8.1-intl, php8.1-snmp, php8.2-cgi, php7.4-pgsql, php8.2-sqlite3, php8.1-readline, php8.1-mysql, php7.4-fpm, php7.4-enchant, php7.4-gd, php7.4-cli, php8.1-dba, php8.1-common, php8.2-pgsql, php7.4-sybase, php7.4-bz2, php7.4, php8.1-dev, php8.1-cgi, php8.2, php8.2-imap, libphp8.2-embed, php8.2-sybase, php8.1-gmp, php7.4-gmp, php8.2-dev, php7.4-snmp, php8.1-odbc, php8.1-curl, php8.1-fpm, php7.4-mbstring, php8.2-enchant, php8.1-enchant, php7.4-curl, php8.1-bz2, php8.1-gd, php8.2-opcache, php8.1-tidy, php7.4-ldap, php7.4-bcmath, php8.2-interbase, php7.4-zip, php8.2-bcmath, php8.1-opcache, libphp7.4-embed, php8.2-pspell, php8.1-bcmath, php8.1-imap, php7.4-dev, php7.4-tidy, php8.2-phpdbg, libapache2-mod-php8.0, php7.4-intl, php7.4-xsl, php8.2-mbstring, php8.2-ldap, php8.2-gmp, php8.2-intl, php8.1-xsl, php8.2-xsl, php8.2-xml, php8.1, libphp8.1-embed, php7.4-phpdbg, php7.4-imap, php8.2-zip, php8.1-sqlite3, php7.4-cgi, php7.4-mysql, php8.1-interbase, php8.1-pspell, php7.4-soap, php8.2-fpm, php7.4-common, php8.1-zip, php8.2-bz2, php8.2-soap, php8.1-cli, php8.1-phpdbg, php8.1-xml, php8.1-soap, php8.1-pgsql, php7.4-dba, php8.1-mbstring, php8.2-readline, php7.4-odbc, php8.2-tidy, php7.4-pspell, php7.4-sqlite3, php7.4-opcache, php8.1-sybase, libapache2-mod-php7.4, php8.2-odbc, php7.4-interbase, libapache2-mod-php8.1, php8.2-cli, libapache2-mod-php8.2, php8.1-ldap, php8.2-common, php8.2-gd