Skip to content
OpenAdvisories
Medium ALSA-2022:7628 3 CVEs

Moderate: php:7.4 security, bug fix, and enhancement update

Published Nov 8, 2022 · Updated Oct 29, 2026

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

The following packages have been upgraded to a later upstream version: php (7.4.30), php-pear (1.10.13). (BZ#2055422)

Security Fix(es):

* php: Special character breaks path in xml parsing (CVE-2021-21707)
* php: Use after free due to php_filter_float() failing for ints (CVE-2021-21708)
* php-pear: Directory traversal vulnerability (CVE-2021-32610)

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 45

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 1.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux · 8 libzip-devel 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 libzip-devel 1.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux · 8 libzip-tools 1.6.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux · 8 libzip-tools 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-bcmath 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-cli 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-common 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-dba 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-dbg 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-devel 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-embedded 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-enchant 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-ffi 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-fpm 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-gd 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-gmp 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-intl 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-json 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-ldap 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-mbstring 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-mysqlnd 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-odbc 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-opcache 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-pdo 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-pear 1:1.10.13-1.module_el8.6.0+3268+b150a051
AlmaLinux · 8 php-pecl-apcu 5.1.18-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-apcu 5.1.18-1.module_el8.6.0+3239+bedf0508
AlmaLinux · 8 php-pecl-apcu-devel 5.1.18-1.module_el8.6.0+3239+bedf0508
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-rrd 2.0.1-1.module_el8.6.0+3239+bedf0508
AlmaLinux · 8 php-pecl-xdebug 2.9.5-1.module_el8.6.0+3239+bedf0508
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-pecl-zip 1.18.2-1.module_el8.6.0+3239+bedf0508
AlmaLinux · 8 php-pgsql 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-process 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-snmp 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-soap 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-xml 7.4.30-1.module_el8.7.0+3286+227f3cf0
AlmaLinux · 8 php-xmlrpc 7.4.30-1.module_el8.7.0+3286+227f3cf0

Vulnerabilities 3

  • High 8.2

    UAF due to php_filter_float() failing

    In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which c…

  • High 7.1
    CVE-2021-32610 EPSS 73%

    Directory Traversal in Archive_Tar

    In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.

  • 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://access.redhat.com/security/cve/CVE-2021-21707
  • report
    https://access.redhat.com/security/cve/CVE-2021-21708
  • report
    https://access.redhat.com/security/cve/CVE-2021-32610
  • report
    https://bugzilla.redhat.com/1988558
  • report
    https://bugzilla.redhat.com/2026045
  • report
    https://bugzilla.redhat.com/2055879
  • advisory
    https://errata.almalinux.org/8/ALSA-2022-7628.html