ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-872

Amazon Linux 2023 - ALAS2023-2025-872: Medium priority package update for php8.2

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-9026: Logs from childrens may be altered

NOTE: Fixed in 8.3.12, 8.2.24 NOTE: https://github.com/php/php-src/security/advisories/GHSA-865w-9rf3-2wh5 NOTE: https://github.com/php/php-src/commit/1f8e16172c7961045c2b0f34ba7613e3f21cdee8 (PHP-8.2.24)

CVE-2024-8932: The upstream advisory describes this issue as follows:

Uncontrolled long string inputs to ldap_escape on 32-bit systems can cause an integer overflow, resulting in an out-of-bounds write.

CVE-2024-8929: The upstream advisory describes this issue as follows:

By connecting to a fake MySQL server or tampering with network packets and initiating a SQL Query, it is possible to abuse the function static enum_func_status php_mysqlnd_rset_field_read when parsing MySQL fields packets in order to include the rest of the heap content starting from the address of the cursor of the currently read buffer.

Using PHP-FPM which stays alive between request, and between two different SQL query requests, as the previous buffer used to store received data from MySQL is not emptied and malloc allocates a memory region which is very near the previous one, one is able to extract the response content of the previous MySQL request from the PHP-FPM worker.

CVE-2024-8928: php: Erroneous parsing of multipart form data

CVE-2024-8927: cgi.force_redirect configuration is byppassible due to the environment variable collision

NOTE: Fixed in 8.3.12, 8.2.24 NOTE: https://github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp NOTE: https://github.com/php/php-src/commit/48808d98f4fc2a05193cdcc1aedd6c66816450f1 (PHP-8.2.24)

CVE-2024-8925: Erroneous parsing of multipart form data

NOTE: Fixed in 8.3.12, 8.2.24 NOTE: https://github.com/php/php-src/security/advisories/GHSA-9pqp-7h25-4f32 NOTE: https://github.com/php/php-src/commit/19b49258d0c5a61398d395d8afde1123e8d161e0 (PHP-8.2.24)

CVE-2024-11234: The upstream advisory describes this issue as follows:

Configuring a proxy in a stream context might allow for CRLF injection in URIs, resulting in HTTP request smuggling attacks.

CVE-2024-11233: The upstream advisory describes this issue as follows:

A memory-related vulnerability in PHP’s filter handling system, particularly when processing input with convert.quoted-printable-decode filters, leads to a segmentation fault. This vulnerability is triggered through specific sequences of input data, causing PHP to crash. When exploited, it allows an attacker to extract a single byte of data from the heap or cause a DoS.

Affected packages

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

References