Skip to content
OpenAdvisories
Medium ALSA-2022:1935 2 CVEs

Moderate: php:7.4 security update

Published May 10, 2022 · Updated Oct 29, 2026

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
Security Fix(es):
* php: Local privilege escalation via PHP-FPM (CVE-2021-21703)
* php: SSRF bypass in FILTER_VALIDATE_URL (CVE-2021-21705)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Fixed packages 37

ReleasePackageFixed in
AlmaLinux · 8 apcu-panel 5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 libzip 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 libzip-devel 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 libzip-tools 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-bcmath 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-cli 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-common 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-dba 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-dbg 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-devel 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-embedded 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-enchant 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-ffi 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-fpm 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-gd 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-gmp 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-intl 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-json 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-ldap 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-mbstring 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-mysqlnd 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-odbc 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-opcache 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pdo 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pear 1:1.10.12-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-apcu 5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-apcu-devel 5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-rrd 2.0.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-xdebug 2.9.5-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-zip 1.18.2-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pgsql 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-process 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-snmp 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-soap 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-xml 7.4.19-2.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-xmlrpc 7.4.19-2.module_el8.6.0+2750+78feabcb

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 4.3

    Incorrect URL validation in FILTER_VALIDATE_URL

    In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to t…

References

  • report
    https://access.redhat.com/security/cve/CVE-2021-21703
  • report
    https://access.redhat.com/security/cve/CVE-2021-21705
  • report
    https://bugzilla.redhat.com/1978755
  • report
    https://bugzilla.redhat.com/2016535
  • advisory
    https://errata.almalinux.org/8/ALSA-2022-1935.html