ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2023-081

Amazon Linux 2023 - ALAS2023-2023-081: Important priority package update for php8.1

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-37454: The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.

CVE-2022-31631: A flaw was found in PHP. This issue occurs due to an uncaught integer overflow in PDO::quote() of PDO_SQLite returning an improperly quoted string. With the implementation of sqlite3_snprintf(), it is possible to force the function to return a single apostrophe if the function is called on user-supplied input without any length restrictions in place.

CVE-2022-31630: In PHP versions prior to 7.4.33, 8.0.25 and 8.2.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information.

CVE-2022-31629: In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.

CVE-2022-31628: In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.

CVE-2022-31627: A vulnerability was found in php. This issue occurs due to memory corruption in the finfo_buffer() function and a bad patch of the libmagic library. This flaw allows an attacker or malicious actor to execute a heap buffer overflow successfully, causing a memory crash.

Affected packages

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

References