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

Security update for php7

Published Nov 1, 2022 · Updated Feb 4, 2026

Summary

This update for php7 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 1

ReleasePackageFixed in
openSUSE · Leap 15.4 php7 7.2.5-150000.4.98.2

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