ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2024-678

Amazon Linux 2023 - ALAS2023-2024-678: Medium priority package update for php8.2

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-5458: 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 information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.

CVE-2024-2408: The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.

Fixing CVE-2024-2408 would require API changes that could break existing applications. Considering the incompatibilities, the complexity of triggering the issue and the limited confidentiality impacts, a fix will not be provided for PHP in Amazon Linux 2 at this time.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023php8.2
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-bcmath
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-bcmath-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-cli
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-cli-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-common
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-common-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dba
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dba-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dbg
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-dbg-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-debugsource
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-devel
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-embedded
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-embedded-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-enchant
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-enchant-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ffi
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ffi-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-fpm
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-fpm-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gd
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gd-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gmp
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-gmp-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-intl
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-intl-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ldap
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-ldap-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mbstring
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mbstring-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mysqlnd
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-mysqlnd-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-odbc
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-odbc-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-opcache
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-opcache-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pdo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pdo-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pgsql
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pgsql-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-process
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-process-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pspell
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-pspell-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-snmp
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-snmp-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-soap
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-soap-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-sodium
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-sodium-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-tidy
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-tidy-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-xml
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-xml-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-zip
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)
Amazon Linux:2023php8.2-zip-debuginfo
All versions before 8.2.21-1.amzn2023.0.1 (fixed in 8.2.21-1.amzn2023.0.1)

References