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

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

Published Nov 8, 2022 · Updated Feb 4, 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 Rocky Linux 8.7 Release Notes linked from the References section.

Fixed packages 8

ReleasePackageFixed in
Rocky Linux · 8 libzip 0:1.7.3-1.module+el8.6.0+790+fc63e43f
Rocky Linux · 8 php 0:8.0.20-2.module+el8.7.0+1068+7fd2c980
Rocky Linux · 8 php-pear 1:1.10.13-1.module+el8.7.0+1067+0a7071cc
Rocky Linux · 8 php-pear 1:1.10.13-1.module+el8.6.0+1006+0d5a469f
Rocky Linux · 8 php-pecl-apcu 0:5.1.20-1.module+el8.6.0+790+fc63e43f
Rocky Linux · 8 php-pecl-rrd 0:2.0.3-1.module+el8.6.0+790+fc63e43f
Rocky Linux · 8 php-pecl-xdebug3 0:3.1.2-1.module+el8.6.0+790+fc63e43f
Rocky Linux · 8 php-pecl-zip 0:1.19.2-1.module+el8.6.0+790+fc63e43f

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://bugzilla.redhat.com/show_bug.cgi?id=2055879
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2098521
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2100876
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2112814