Skip to content
OpenAdvisories
Medium SUSE-SU-2024:2037-1 3 CVEs

Security update for php7

Published Jun 17, 2024 · Updated Feb 4, 2026

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)
- CVE-2024-5458: Fixed an issue that allows to bypass filters in filter_var FILTER_VALIDATE_URL. (bsc#1226073)

Fixed packages 7

ReleasePackageFixed in
SUSE · Enterprise Storage 7.1 php7 7.4.33-150200.3.65.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS php7 7.4.33-150200.3.65.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS php7 7.4.33-150200.3.65.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS php7 7.4.33-150200.3.65.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS php7 7.4.33-150200.3.65.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 php7 7.4.33-150200.3.65.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 php7 7.4.33-150200.3.65.1

Vulnerabilities 3

  • Medium 6.5
    CVE-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.

  • Medium 5.3
    CVE-2024-5458 EPSS 12%

    Filter bypass in filter_var (FILTER_VALIDATE_URL)

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user infor…

References

  • report
    https://bugzilla.suse.com/1222857
  • report
    https://bugzilla.suse.com/1222858
  • report
    https://bugzilla.suse.com/1226073
  • web
    https://www.suse.com/security/cve/CVE-2024-2756
  • web
    https://www.suse.com/security/cve/CVE-2024-3096
  • web
    https://www.suse.com/security/cve/CVE-2024-5458