Amazon Linux Security Advisory
ALAS2023-2023-324
Amazon Linux 2023 - ALAS2023-2023-324: Important priority package update for php8.2
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2023-3824: In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.
CVE-2023-3823: In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | php8.2 | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-bcmath | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-bcmath-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-cli | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-cli-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-common | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-common-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-dba | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-dba-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-dbg | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-dbg-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-debugsource | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-devel | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-embedded | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-embedded-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-enchant | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-enchant-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-ffi | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-ffi-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-fpm | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-fpm-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-gd | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-gd-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-gmp | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-gmp-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-intl | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-intl-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-ldap | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-ldap-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-mbstring | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-mbstring-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-mysqlnd | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-mysqlnd-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-odbc | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-odbc-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-opcache | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-opcache-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-pdo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-pdo-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-pgsql | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-pgsql-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-process | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-process-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-pspell | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-pspell-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-snmp | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-snmp-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-soap | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-soap-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-tidy | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-tidy-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-xml | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |
| Amazon Linux:2023 | php8.2-xml-debuginfo | All versions before 8.2.9-1.amzn2023.0.2 (fixed in 8.2.9-1.amzn2023.0.2) |