USN-7049-1: PHP vulnerabilities
1 October 2024
Several security issues were fixed in PHP.
Releases
Packages
- php7.4 - HTML-embedded scripting language interpreter
- php8.1 - HTML-embedded scripting language interpreter
- php8.3 - HTML-embedded scripting language interpreter
Details
It was discovered that PHP incorrectly handled parsing multipart form data.
A remote attacker could possibly use this issue to inject payloads and
cause PHP to ignore legitimate data. (CVE-2024-8925)
It was discovered that PHP incorrectly handled the cgi.force_redirect
configuration option due to environment variable collisions. In certain
configurations, an attacker could possibly use this issue bypass
force_redirect restrictions. (CVE-2024-8927)
It was discovered that PHP-FPM incorrectly handled logging. A remote
attacker could possibly use this issue to alter and inject arbitrary
contents into log files. This issue only affected Ubuntu 22.04 LTS, and
Ubuntu 24.04 LTS. (CVE-2024-9026)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 24.04
-
libapache2-mod-php8.3
-
8.3.6-0ubuntu0.24.04.2
-
php8.3-cgi
-
8.3.6-0ubuntu0.24.04.2
-
php8.3-cli
-
8.3.6-0ubuntu0.24.04.2
-
php8.3-fpm
-
8.3.6-0ubuntu0.24.04.2
Ubuntu 22.04
-
libapache2-mod-php8.1
-
8.1.2-1ubuntu2.19
-
php8.1-cgi
-
8.1.2-1ubuntu2.19
-
php8.1-cli
-
8.1.2-1ubuntu2.19
-
php8.1-fpm
-
8.1.2-1ubuntu2.19
Ubuntu 20.04
-
libapache2-mod-php7.4
-
7.4.3-4ubuntu2.24
-
php7.4-cgi
-
7.4.3-4ubuntu2.24
-
php7.4-cli
-
7.4.3-4ubuntu2.24
-
php7.4-fpm
-
7.4.3-4ubuntu2.24
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-7049-2: php7.2-xsl, php7.0-interbase, php7.2-opcache, php7.0-mbstring, libphp7.0-embed, php7.0-gmp, php7.0-imap, php7.2-gmp, php7.2-dba, php7.2-fpm, libapache2-mod-php7.2, php7.0-sybase, php7.0-intl, php7.0-curl, php7.2-odbc, php7.0-enchant, php7.0-mysql, php7.2-common, php7.0-mcrypt, php7.0-recode, php7.2-sybase, libphp7.2-embed, php7.2-json, php7.0-sqlite3, php7.0-odbc, php7.2-zip, php7.2-tidy, php7.2-xmlrpc, php7.0-phpdbg, php7.2-recode, php7.0-xml, php7.0-pspell, php7.0-opcache, php7.2-mysql, php7.2-interbase, php7.0-zip, libapache2-mod-php7.0, php7.2-snmp, php7.2, php7.0-soap, php7.2-intl, php7.0-xmlrpc, php7.2-xml, php7.2-bcmath, php7.0-cgi, php7.0-xsl, php7.2-soap, php7.0-dev, php7.2-dev, php7.0-cli, php7.2-enchant, php7.2-ldap, php7.0, php7.0-snmp, php7.2-curl, php7.0-fpm, php7.0-readline, php7.2-mbstring, php7.0-bz2, php7.2-pgsql, php7.0-dba, php7.2-sqlite3, php7.2-pspell, php7.2-bz2, php7.2-phpdbg, php7.0-bcmath, php7.2-readline, php7.0-gd, php7.0-json, php7.0-pgsql, php7.0-common, php7.2-cgi, php7.2-imap, php7.0-tidy, php7.0-ldap, php7.2-gd, php7.2-cli