Summary
This update for php8 fixes the following issues:
- CVE-2024-2756: Fixed bypass of security fix applied for CVE-2022-31629 that lead PHP to consider not secure cookies as secure (bsc#1222857)
- CVE-2024-3096: Fixed bypass on null byte leading passwords checked via password_verify (bsc#1222858)
Fixed packages 12
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.5 | apache2-mod_php8 | 8.0.30-150400.4.40.1 |
| openSUSE · Leap 15.5 | php8 | 8.0.30-150400.4.40.1 |
| openSUSE · Leap 15.5 | php8-embed | 8.0.30-150400.4.40.1 |
| openSUSE · Leap 15.5 | php8-fastcgi | 8.0.30-150400.4.40.1 |
| openSUSE · Leap 15.5 | php8-fpm | 8.0.30-150400.4.40.1 |
| openSUSE · Leap 15.5 | php8-test | 8.0.30-150400.4.40.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 | apache2-mod_php8 | 8.0.30-150400.4.40.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 | php8 | 8.0.30-150400.4.40.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 | php8-embed | 8.0.30-150400.4.40.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 | php8-fastcgi | 8.0.30-150400.4.40.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 | php8-fpm | 8.0.30-150400.4.40.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 | php8-test | 8.0.30-150400.4.40.1 |
Vulnerabilities 2
-
Medium 6.5CVE-2024-2756 EPSS 38%
__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix
Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.
-
Medium 6.5
PHP function password_verify can erroneously return true when argument contains NUL
In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.