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

Moderate: php:7.4 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 (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 Rocky Linux 8.7 Release Notes linked from the References section.

Fixed packages 11

ReleasePackageFixed in
Rocky Linux · 8 libzip 0:1.6.1-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 libzip 0:1.6.1-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php 0:7.4.30-1.module+el8.7.0+1067+0a7071cc
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.18-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 php-pecl-apcu 0:5.1.18-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php-pecl-rrd 0:2.0.1-1.module+el8.4.0+414+2e7afcdd
Rocky Linux · 8 php-pecl-xdebug 0:2.9.5-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php-pecl-zip 0:1.18.2-1.module+el8.6.0+789+2130c178
Rocky Linux · 8 php-pecl-zip 0:1.18.2-1.module+el8.4.0+415+e936cba3

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://bugzilla.redhat.com/show_bug.cgi?id=1988558
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2026045
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2055422
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2055879