Skip to content
OpenAdvisories
High ALAS2023-2024-624 2 CVEs

Important: php8.2 security update (Amazon Linux 2023)

Published May 23, 2024 · Updated May 28, 2024

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-3096: The vulnerability allows a remote attacker to bypass authentication process. The vulnerability exists due to an error in within the password_verify() function, which can erroneously return true. A remote attacker can bypass implemented authentication based on the vulnerable function and gain unauthorized access to the web application. CVE-2024-2756: The vulnerability allows a remote attacker to bypass implemented security restrictions. The vulnerability exists due to the way PHP handles HTTP variable names. A remote attacker can set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications. Note, the vulnerability exists due to incomplete fix for #VU67756 (CVE-2022-31629).

Fixed packages 58

ReleasePackageFixed in
Amazon Linux · 2023 php8.2 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-bcmath 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-bcmath-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-cli 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-cli-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-common 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-common-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-dba 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-dba-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-dbg 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-dbg-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-debugsource 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-devel 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-embedded 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-embedded-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-enchant 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-enchant-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-ffi 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-ffi-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-fpm 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-fpm-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-gd 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-gd-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-gmp 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-gmp-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-intl 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-intl-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-ldap 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-ldap-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-mbstring 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-mbstring-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-mysqlnd 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-mysqlnd-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-odbc 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-odbc-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-opcache 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-opcache-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-pdo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-pdo-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-pgsql 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-pgsql-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-process 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-process-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-pspell 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-pspell-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-snmp 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-snmp-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-soap 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-soap-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-sodium 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-sodium-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-tidy 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-tidy-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-xml 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-xml-debuginfo 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-zip 0:8.2.18-1.amzn2023.0.1
Amazon Linux · 2023 php8.2-zip-debuginfo 0:8.2.18-1.amzn2023.0.1

Vulnerabilities 2

  • 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.

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-2756.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-3096.html