Skip to content
OpenAdvisories
High SUSE-SU-2022:3661-1 3 CVEs

Security update for php8

Published Oct 19, 2022 · Updated Feb 4, 2026

Summary

This update for php8 fixes the following issues:

- php8 was updated to version 8.0.24
- php8 was updated to version 8.0.23 (jsc#SLE-23639).
- CVE-2021-21703: Fixed a local privilege escalation via PHP-FPM. (bsc#1192050)
- 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 missing devel package requires pear and pecl extensions (jsc#SLE-24723, bsc#1200772).

Fixed packages 12

ReleasePackageFixed in
openSUSE · Leap 15.4 apache2-mod_php8 8.0.24-150400.4.14.1
openSUSE · Leap 15.4 php8 8.0.24-150400.4.14.1
openSUSE · Leap 15.4 php8-embed 8.0.24-150400.4.14.1
openSUSE · Leap 15.4 php8-fastcgi 8.0.24-150400.4.14.1
openSUSE · Leap 15.4 php8-fpm 8.0.24-150400.4.14.1
openSUSE · Leap 15.4 php8-test 8.0.24-150400.4.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 apache2-mod_php8 8.0.24-150400.4.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8 8.0.24-150400.4.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-embed 8.0.24-150400.4.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-fastcgi 8.0.24-150400.4.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-fpm 8.0.24-150400.4.14.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 php8-test 8.0.24-150400.4.14.1

Vulnerabilities 3

  • High 7.8

    PHP-FPM memory access in root process leading to privilege escalation

    In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child proc…

  • 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/1192050
  • report
    https://bugzilla.suse.com/1200772
  • report
    https://bugzilla.suse.com/1203867
  • report
    https://bugzilla.suse.com/1203870
  • web
    https://www.suse.com/security/cve/CVE-2021-21703
  • web
    https://www.suse.com/security/cve/CVE-2022-31628
  • web
    https://www.suse.com/security/cve/CVE-2022-31629