Skip to content
OpenAdvisories
Medium SUSE-SU-2024:1445-1 2 CVEs

Security update for php74

Published Apr 26, 2024 · Updated Feb 4, 2026

Summary

This update for php74 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 2

ReleasePackageFixed in
SUSE · SLES 12 Linux Enterprise Module for Web and Scripting 12 php74 7.4.33-1.65.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 php74 7.4.33-1.65.1

Vulnerabilities 2

  • 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.

References

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