Skip to content
OpenAdvisories
Medium SUSE-SU-2022:3957-1 2 CVEs

Security update for php72

Published Nov 11, 2022 · Updated Feb 4, 2026

Summary

This update for php72 fixes the following issues:

- CVE-2022-31628: Fixed an uncontrolled recursion in the phar uncompressor while decompressing 'quines' gzip files. (bsc#1203867)
- CVE-2022-31629: Fixed a bug which could lead an attacker to set an insecure cookie that will treated as secure in the victim's browser. (bsc#1203870)

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 12 Linux Enterprise Module for Web and Scripting 12 php72 7.2.5-1.84.1
SUSE · SLES 12 SP5 Linux Enterprise Software Development Kit 12 SP5 php72 7.2.5-1.84.1

Vulnerabilities 2

  • Medium 6.5
    CVE-2022-31629 Public exploit EPSS 50%

    $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

  • Low 2.3

    phar wrapper can occur dos when using quine gzip file

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

References

  • report
    https://bugzilla.suse.com/1203867
  • report
    https://bugzilla.suse.com/1203870
  • web
    https://www.suse.com/security/cve/CVE-2022-31628
  • web
    https://www.suse.com/security/cve/CVE-2022-31629