ADVISORIES

Amazon Linux Security Advisory

ALAS2-2023-2375

Amazon Linux 2 2017.12 - ALAS2-2023-2375: important priority package update for php

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-0662: In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and excessive number of log entries. This can cause denial of service on the affected server by exhausting CPU resources or disk space.

CVE-2022-31625: A vulnerability was found in PHP due to an uninitialized array in pg_query_params() function. When using the Postgres database extension, supplying invalid parameters to the parameterized query may lead to PHP attempting to free memory, using uninitialized data as pointers. This flaw allows a remote attacker with the ability to control query parameters to execute arbitrary code on the system or may cause a denial of service.

CVE-2017-9229: An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition.

CVE-2017-9228: An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A heap out-of-bounds write occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2php
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-bcmath
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-cli
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-common
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-dba
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-debuginfo
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-devel
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-embedded
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-enchant
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-fpm
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-gd
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-intl
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-ldap
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-mbstring
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-mysqlnd
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-odbc
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-pdo
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-pgsql
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-process
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-pspell
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-recode
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-snmp
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-soap
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-xml
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)
Amazon Linux:2php-xmlrpc
All versions before 5.4.16-46.amzn2.0.3 (fixed in 5.4.16-46.amzn2.0.3)

References