Summary
This update for php7 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 11
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.5 | apache2-mod_php7 | 7.4.33-150400.4.34.1 |
| openSUSE · Leap 15.5 | php7 | 7.4.33-150400.4.34.1 |
| openSUSE · Leap 15.5 | php7-embed | 7.4.33-150400.4.34.1 |
| openSUSE · Leap 15.5 | php7-fastcgi | 7.4.33-150400.4.34.1 |
| openSUSE · Leap 15.5 | php7-fpm | 7.4.33-150400.4.34.1 |
| openSUSE · Leap 15.5 | php7-test | 7.4.33-150400.4.34.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Legacy 15 SP5 | apache2-mod_php7 | 7.4.33-150400.4.34.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Legacy 15 SP5 | php7 | 7.4.33-150400.4.34.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Legacy 15 SP5 | php7-fastcgi | 7.4.33-150400.4.34.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Legacy 15 SP5 | php7-fpm | 7.4.33-150400.4.34.1 |
| SUSE · SLES 15 SP5 Linux Enterprise Module for Package Hub 15 SP5 | php7-embed | 7.4.33-150400.4.34.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.