Skip to content
OpenAdvisories
High openSUSE-SU-2021:1570-1 2 CVEs

Recommended update for php7

Published Dec 10, 2021 · Updated Feb 4, 2026

Summary

This update for php7 fixes the following issues:

- CVE-2021-21703: Fixed local privilege escalation via PHP-FPM (bsc#1192050).
- CVE-2021-21707: Fixed special character breaks path in xml parsing (bsc#1193041).

- Added patch to prevent memory access violation in php7 when running test suite (bsc#1175508)

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Fixed packages 2

ReleasePackageFixed in
openSUSE · Leap 15.2 php7 7.4.6-lp152.2.21.1
openSUSE · Leap 15.2 php7-test 7.4.6-lp152.2.21.1

Vulnerabilities 2

  • 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 5.3
    CVE-2021-21707 Public exploit EPSS 25%

    Special characters break path parsing in XML functions

    In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function …

References

  • report
    https://bugzilla.suse.com/1175508
  • report
    https://bugzilla.suse.com/1192050
  • report
    https://bugzilla.suse.com/1193041
  • web
    https://www.suse.com/security/cve/CVE-2021-21703
  • web
    https://www.suse.com/security/cve/CVE-2021-21707