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

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

Published Nov 8, 2022 · Updated Nov 5, 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 (8.0.20). (BZ#2100876)

Security Fix(es):

* php: Use after free due to php_filter_float() failing for ints (CVE-2021-21708)
* php: Uninitialized array in pg_query_params() leading to RCE (CVE-2022-31625)

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 44

ReleasePackageFixed in
AlmaLinux · 8 apcu-panel 5.1.20-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 libzip 1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 libzip 1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 libzip-devel 1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 libzip-devel 1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 libzip-tools 1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 libzip-tools 1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-bcmath 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-cli 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-common 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-dba 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-dbg 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-devel 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-embedded 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-enchant 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-ffi 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-fpm 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-gd 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-gmp 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-intl 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-ldap 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-mbstring 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-mysqlnd 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-odbc 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-opcache 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-pdo 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-pear 1:1.10.13-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php-pear 1:1.10.13-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php-pecl-apcu 5.1.20-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php-pecl-apcu 5.1.20-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php-pecl-apcu-devel 5.1.20-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php-pecl-apcu-devel 5.1.20-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php-pecl-rrd 2.0.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php-pecl-rrd 2.0.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php-pecl-xdebug3 3.1.2-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php-pecl-xdebug3 3.1.2-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php-pecl-zip 1.19.2-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php-pecl-zip 1.19.2-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 php-pgsql 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-process 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-snmp 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-soap 8.0.20-2.module_el8.7.0+3286+6cee236e
AlmaLinux · 8 php-xml 8.0.20-2.module_el8.7.0+3286+6cee236e

Vulnerabilities 2

  • 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 8.1

    Freeing unallocated memory in php_pgsql_free_params()

    In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This …

References

  • report
    https://access.redhat.com/security/cve/CVE-2021-21708
  • report
    https://access.redhat.com/security/cve/CVE-2022-31625
  • report
    https://bugzilla.redhat.com/2055879
  • report
    https://bugzilla.redhat.com/2098521
  • report
    https://bugzilla.redhat.com/2100876
  • report
    https://bugzilla.redhat.com/2112814
  • advisory
    https://errata.almalinux.org/8/ALSA-2022-7624.html