Skip to content
OpenAdvisories
Medium RLSA-2021:4213 5 CVEs

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

Published Nov 9, 2021 · Updated Feb 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 (7.4.19). (BZ#1944110)

Security Fix(es):

* php: Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV (CVE-2020-7069)

* php: FILTER_VALIDATE_URL accepts URLs with invalid userinfo (CVE-2020-7071)

* php: Use of freed hash key in the phar_parse_zipfile function (CVE-2020-7068)

* php: URL decoding of cookie names can lead to different interpretation of cookies between browser and server (CVE-2020-7070)

* php: NULL pointer dereference in SoapClient (CVE-2021-21702)

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.5 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.19-1.module+el8.5.0+696+61e7c9ba
Rocky Linux · 8 php-pear 1:1.10.12-1.module+el8.4.0+415+e936cba3
Rocky Linux · 8 php-pear 1:1.10.12-1.module+el8.6.0+789+2130c178
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 5

  • Medium 5.4

    Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV

    In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect en…

  • Medium 5.3

    FILTER_VALIDATE_URL accepts URLs with invalid userinfo

    In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid…

  • Medium 5.3

    Null Dereference in SoapClient

    In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus c…

  • Medium 4.8

    Use of freed hash key in the phar_parse_zipfile function

    In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

  • Medium 4.3

    PHP parses encoded cookie names so malicious `__Host-` cookies can be sent

    In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such p…

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1868109
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1885735
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1885738
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1913846
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1925272