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

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

Published Nov 9, 2021 · 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.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 AlmaLinux Release Notes linked from the References section.

Fixed packages 39

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-devel 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 libzip-tools 1.6.1-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-bcmath 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-cli 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-common 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-dba 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-dbg 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-devel 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-embedded 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-enchant 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-ffi 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-fpm 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-gd 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-gmp 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-intl 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-json 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-ldap 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-mbstring 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-mysqlnd 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-odbc 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-opcache 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-pdo 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-pear 1:1.10.12-1.module_el8.6.0+2750+78feabcb
AlmaLinux · 8 php-pecl-apcu 5.1.18-1.module_el8.6.0+2750+78feabcb
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.4.0+2229+b272fdef
AlmaLinux · 8 php-pecl-rrd 2.0.1-1.module_el8.3.0+2009+b272fdef
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-pgsql 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-process 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-snmp 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-soap 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-xml 7.4.19-3.module_el8.6.0+2976+8b9a0d08
AlmaLinux · 8 php-xmlrpc 7.4.19-3.module_el8.6.0+2976+8b9a0d08

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://vulners.com/cve/CVE-2020-7068
  • report
    https://vulners.com/cve/CVE-2020-7069
  • report
    https://vulners.com/cve/CVE-2020-7070
  • report
    https://vulners.com/cve/CVE-2020-7071
  • report
    https://vulners.com/cve/CVE-2021-21702