Skip to content
OpenAdvisories
Medium ALSA-2024:10951 7 CVEs

Moderate: php:8.2 security update

Published Dec 11, 2024 · Updated Oct 29, 2026

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

Security Fix(es):

* php: host/secure cookie bypass due to partial CVE-2022-31629 fix (CVE-2024-2756)
* php: password_verify can erroneously return true, opening ATO risk (CVE-2024-3096)
* php: Filter bypass in filter_var (FILTER_VALIDATE_URL) (CVE-2024-5458)
* php: Erroneous parsing of multipart form data (CVE-2024-8925)
* php: cgi.force_redirect configuration is bypassable due to the environment variable collision (CVE-2024-8927)
* php: PHP-FPM Log Manipulation Vulnerability (CVE-2024-9026)

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.

Fixed packages 39

ReleasePackageFixed in
AlmaLinux · 8 apcu-panel 5.1.23-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 libzip 1.7.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 libzip 1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 libzip 1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 libzip-devel 1.7.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 libzip-devel 1.7.3-1.module_el8.6.0+3061+6878dd1b
AlmaLinux · 8 libzip-tools 1.7.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 libzip-tools 1.7.3-1.module_el8.6.0+2739+efabdb8f
AlmaLinux · 8 php 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-bcmath 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-cli 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-common 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-dba 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-dbg 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-devel 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-embedded 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-enchant 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-ffi 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-fpm 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-gd 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-gmp 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-intl 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-ldap 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-mbstring 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-mysqlnd 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-odbc 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-opcache 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-pdo 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-pear 1:1.10.14-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 php-pecl-apcu 5.1.23-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 php-pecl-apcu-devel 5.1.23-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 php-pecl-rrd 2.0.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 php-pecl-xdebug3 3.2.2-2.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 php-pecl-zip 1.22.3-1.module_el8.10.0+3796+30ed3ef7
AlmaLinux · 8 php-pgsql 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-process 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-snmp 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-soap 8.2.25-1.module_el8.10.0+3936+14b35499
AlmaLinux · 8 php-xml 8.2.25-1.module_el8.10.0+3936+14b35499

Vulnerabilities 7

  • High 7.5

    cgi.force_redirect configuration is bypassable due to the environment variable collision

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, HTTP_REDIRECT_STATUS variable is used to check whether or not CGI binary is being run by the HTTP server. However, in certain scenarios, the content of this variable can be control…

  • Medium 6.5
    CVE-2022-31629 Public exploit EPSS 50%

    $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

  • Medium 6.5
    CVE-2024-2756 EPSS 38%

    __Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

    Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.

  • Medium 6.5

    PHP function password_verify can erroneously return true when argument contains NUL

    In PHP  version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

  • Medium 5.3
    CVE-2024-5458 EPSS 12%

    Filter bypass in filter_var (FILTER_VALIDATE_URL)

    In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user infor…

  • Low 3.3

    PHP-FPM logs from children may be altered

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, when using PHP-FPM SAPI and it is configured to catch workers output through catch_workers_output = yes, it may be possible to pollute the final log or remove up to 4 characters fr…

  • Low 3.1

    Erroneous parsing of multipart form data

    In PHP versions 8.1.* before 8.1.30, 8.2.* before 8.2.24, 8.3.* before 8.3.12, erroneous parsing of multipart form data contained in an HTTP POST request could lead to legitimate data not being processed. This could lead to malicious attacker able to control …

References

  • report
    https://access.redhat.com/security/cve/CVE-2024-2756
  • report
    https://access.redhat.com/security/cve/CVE-2024-3096
  • report
    https://access.redhat.com/security/cve/CVE-2024-5458
  • report
    https://access.redhat.com/security/cve/CVE-2024-8925
  • report
    https://access.redhat.com/security/cve/CVE-2024-8927
  • report
    https://access.redhat.com/security/cve/CVE-2024-9026
  • report
    https://bugzilla.redhat.com/2275058
  • report
    https://bugzilla.redhat.com/2275061
  • report
    https://bugzilla.redhat.com/2291252
  • report
    https://bugzilla.redhat.com/2317049
  • report
    https://bugzilla.redhat.com/2317051
  • report
    https://bugzilla.redhat.com/2317144
  • advisory
    https://errata.almalinux.org/8/ALSA-2024-10951.html