Amazon Linux 2023 Security Advisory: ALAS-2024-678
Advisory Release Date: 2024-08-01 04:06 Pacific
Advisory Updated Date: 2024-08-06 15:00 Pacific
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.
PHP Windows builds for the versions 8.1.29, 8.2.20 and 8.3.8 and above include OpenSSL patches that fix the vulnerability. (CVE-2024-2408)
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-5458)
Affected Packages:
php8.2
Issue Correction:
Run dnf update php8.2 --releasever 2023.5.20240805 to update your system.
aarch64:
php8.2-common-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-ldap-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-soap-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-opcache-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-ffi-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-mysqlnd-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-cli-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-common-8.2.21-1.amzn2023.0.1.aarch64
php8.2-intl-8.2.21-1.amzn2023.0.1.aarch64
php8.2-process-8.2.21-1.amzn2023.0.1.aarch64
php8.2-xml-8.2.21-1.amzn2023.0.1.aarch64
php8.2-dba-8.2.21-1.amzn2023.0.1.aarch64
php8.2-xml-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-ffi-8.2.21-1.amzn2023.0.1.aarch64
php8.2-gd-8.2.21-1.amzn2023.0.1.aarch64
php8.2-mysqlnd-8.2.21-1.amzn2023.0.1.aarch64
php8.2-debugsource-8.2.21-1.amzn2023.0.1.aarch64
php8.2-soap-8.2.21-1.amzn2023.0.1.aarch64
php8.2-embedded-8.2.21-1.amzn2023.0.1.aarch64
php8.2-mbstring-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-gd-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-dbg-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-pdo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-opcache-8.2.21-1.amzn2023.0.1.aarch64
php8.2-sodium-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-zip-8.2.21-1.amzn2023.0.1.aarch64
php8.2-fpm-8.2.21-1.amzn2023.0.1.aarch64
php8.2-pgsql-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-ldap-8.2.21-1.amzn2023.0.1.aarch64
php8.2-process-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-pgsql-8.2.21-1.amzn2023.0.1.aarch64
php8.2-fpm-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-devel-8.2.21-1.amzn2023.0.1.aarch64
php8.2-pdo-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-dbg-8.2.21-1.amzn2023.0.1.aarch64
php8.2-bcmath-8.2.21-1.amzn2023.0.1.aarch64
php8.2-embedded-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-sodium-8.2.21-1.amzn2023.0.1.aarch64
php8.2-snmp-8.2.21-1.amzn2023.0.1.aarch64
php8.2-mbstring-8.2.21-1.amzn2023.0.1.aarch64
php8.2-zip-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-intl-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-odbc-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-tidy-8.2.21-1.amzn2023.0.1.aarch64
php8.2-cli-8.2.21-1.amzn2023.0.1.aarch64
php8.2-gmp-8.2.21-1.amzn2023.0.1.aarch64
php8.2-odbc-8.2.21-1.amzn2023.0.1.aarch64
php8.2-pspell-8.2.21-1.amzn2023.0.1.aarch64
php8.2-enchant-8.2.21-1.amzn2023.0.1.aarch64
php8.2-dba-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-snmp-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-tidy-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-gmp-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-bcmath-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-pspell-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
php8.2-8.2.21-1.amzn2023.0.1.aarch64
php8.2-enchant-debuginfo-8.2.21-1.amzn2023.0.1.aarch64
src:
php8.2-8.2.21-1.amzn2023.0.1.src
x86_64:
php8.2-embedded-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-mbstring-8.2.21-1.amzn2023.0.1.x86_64
php8.2-pdo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-process-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-opcache-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-ldap-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-devel-8.2.21-1.amzn2023.0.1.x86_64
php8.2-xml-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-intl-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-sodium-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-fpm-8.2.21-1.amzn2023.0.1.x86_64
php8.2-zip-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-opcache-8.2.21-1.amzn2023.0.1.x86_64
php8.2-odbc-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-xml-8.2.21-1.amzn2023.0.1.x86_64
php8.2-mbstring-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-embedded-8.2.21-1.amzn2023.0.1.x86_64
php8.2-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-mysqlnd-8.2.21-1.amzn2023.0.1.x86_64
php8.2-debugsource-8.2.21-1.amzn2023.0.1.x86_64
php8.2-dbg-8.2.21-1.amzn2023.0.1.x86_64
php8.2-gd-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-pgsql-8.2.21-1.amzn2023.0.1.x86_64
php8.2-fpm-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-ffi-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-cli-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-soap-8.2.21-1.amzn2023.0.1.x86_64
php8.2-cli-8.2.21-1.amzn2023.0.1.x86_64
php8.2-pdo-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-pgsql-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-dbg-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-soap-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-common-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-common-8.2.21-1.amzn2023.0.1.x86_64
php8.2-mysqlnd-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-intl-8.2.21-1.amzn2023.0.1.x86_64
php8.2-dba-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-snmp-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-ffi-8.2.21-1.amzn2023.0.1.x86_64
php8.2-tidy-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-gmp-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-bcmath-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-process-8.2.21-1.amzn2023.0.1.x86_64
php8.2-odbc-8.2.21-1.amzn2023.0.1.x86_64
php8.2-sodium-8.2.21-1.amzn2023.0.1.x86_64
php8.2-gd-8.2.21-1.amzn2023.0.1.x86_64
php8.2-ldap-8.2.21-1.amzn2023.0.1.x86_64
php8.2-zip-8.2.21-1.amzn2023.0.1.x86_64
php8.2-gmp-8.2.21-1.amzn2023.0.1.x86_64
php8.2-bcmath-8.2.21-1.amzn2023.0.1.x86_64
php8.2-dba-8.2.21-1.amzn2023.0.1.x86_64
php8.2-snmp-8.2.21-1.amzn2023.0.1.x86_64
php8.2-tidy-8.2.21-1.amzn2023.0.1.x86_64
php8.2-enchant-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-pspell-debuginfo-8.2.21-1.amzn2023.0.1.x86_64
php8.2-pspell-8.2.21-1.amzn2023.0.1.x86_64
php8.2-enchant-8.2.21-1.amzn2023.0.1.x86_64
php8.2-8.2.21-1.amzn2023.0.1.x86_64