Summary
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.
Fixed packages 54
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | php8.2 | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-bcmath | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-bcmath-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-cli | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-cli-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-common | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-common-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-dba | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-dba-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-dbg | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-dbg-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-debugsource | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-devel | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-embedded | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-embedded-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-enchant | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-enchant-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-ffi | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-ffi-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-fpm | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-fpm-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-gd | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-gd-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-gmp | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-gmp-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-intl | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-intl-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-ldap | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-ldap-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-mbstring | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-mbstring-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-mysqlnd | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-mysqlnd-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-odbc | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-odbc-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-opcache | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-opcache-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-pdo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-pdo-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-pgsql | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-pgsql-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-process | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-process-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-pspell | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-pspell-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-snmp | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-snmp-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-soap | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-soap-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-tidy | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-tidy-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-xml | 0:8.2.9-1.amzn2023.0.2 |
| Amazon Linux · 2023 | php8.2-xml-debuginfo | 0:8.2.9-1.amzn2023.0.2 |
Vulnerabilities 2
-
Critical 9.4
Buffer overflow and overread in phar_dir_read()
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.
-
High 8.6
Security issue with external entity loading in XML without enabling it
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 us…