Amazon Linux 2023 Security Advisory: ALAS-2023-325
Advisory Release Date: 2023-08-31 21:44 Pacific
Advisory Updated Date: 2023-09-14 00:54 Pacific
2023-09-14: CVE-2023-3247 was added to this advisory.
GHSA-76gg-c692-v2mw: Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP
NOTE: Fixed in 8.2.7, 8.1.20, 8.0.29
NOTE: https://github.com/php/php-src/security/advisories/GHSA-76gg-c692-v2mw
NOTE: https://github.com/php/php-src/commit/ac4254ad764c70cb1f05c9270d8d12689fc3aeb6 (php-8.0.29)
NOTE: https://github.com/php/php-src/commit/32c7c433ac1983c4497349051681a4f361d3d33e (php-8.0.29)
ADVISORIES: ['DSA-5425-1', 'DSA-5424-1'] (CVE-2023-3247)
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. (CVE-2023-3823)
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-3824)
Affected Packages:
php8.1
Issue Correction:
Run dnf update php8.1 --releasever 2023.1.20230906 to update your system.
aarch64:
php8.1-opcache-8.1.22-1.amzn2023.0.1.aarch64
php8.1-cli-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-dbg-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-tidy-8.1.22-1.amzn2023.0.1.aarch64
php8.1-fpm-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-odbc-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-pspell-8.1.22-1.amzn2023.0.1.aarch64
php8.1-gd-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-enchant-8.1.22-1.amzn2023.0.1.aarch64
php8.1-opcache-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-snmp-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-dbg-8.1.22-1.amzn2023.0.1.aarch64
php8.1-debugsource-8.1.22-1.amzn2023.0.1.aarch64
php8.1-mysqlnd-8.1.22-1.amzn2023.0.1.aarch64
php8.1-odbc-8.1.22-1.amzn2023.0.1.aarch64
php8.1-ldap-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-mbstring-8.1.22-1.amzn2023.0.1.aarch64
php8.1-ldap-8.1.22-1.amzn2023.0.1.aarch64
php8.1-xml-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-devel-8.1.22-1.amzn2023.0.1.aarch64
php8.1-pdo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-snmp-8.1.22-1.amzn2023.0.1.aarch64
php8.1-dba-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-pdo-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-bcmath-8.1.22-1.amzn2023.0.1.aarch64
php8.1-soap-8.1.22-1.amzn2023.0.1.aarch64
php8.1-intl-8.1.22-1.amzn2023.0.1.aarch64
php8.1-intl-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-pgsql-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-fpm-8.1.22-1.amzn2023.0.1.aarch64
php8.1-gd-8.1.22-1.amzn2023.0.1.aarch64
php8.1-soap-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-cli-8.1.22-1.amzn2023.0.1.aarch64
php8.1-process-8.1.22-1.amzn2023.0.1.aarch64
php8.1-embedded-8.1.22-1.amzn2023.0.1.aarch64
php8.1-pgsql-8.1.22-1.amzn2023.0.1.aarch64
php8.1-dba-8.1.22-1.amzn2023.0.1.aarch64
php8.1-process-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-mysqlnd-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-ffi-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-gmp-8.1.22-1.amzn2023.0.1.aarch64
php8.1-ffi-8.1.22-1.amzn2023.0.1.aarch64
php8.1-xml-8.1.22-1.amzn2023.0.1.aarch64
php8.1-common-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-mbstring-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-embedded-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-common-8.1.22-1.amzn2023.0.1.aarch64
php8.1-tidy-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-gmp-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-bcmath-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-enchant-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-pspell-debuginfo-8.1.22-1.amzn2023.0.1.aarch64
php8.1-8.1.22-1.amzn2023.0.1.aarch64
src:
php8.1-8.1.22-1.amzn2023.0.1.src
x86_64:
php8.1-fpm-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-intl-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-common-8.1.22-1.amzn2023.0.1.x86_64
php8.1-intl-8.1.22-1.amzn2023.0.1.x86_64
php8.1-ldap-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-mysqlnd-8.1.22-1.amzn2023.0.1.x86_64
php8.1-mbstring-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-soap-8.1.22-1.amzn2023.0.1.x86_64
php8.1-pgsql-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-dba-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-pdo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-snmp-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-pdo-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-pgsql-8.1.22-1.amzn2023.0.1.x86_64
php8.1-cli-8.1.22-1.amzn2023.0.1.x86_64
php8.1-embedded-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-gd-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-debugsource-8.1.22-1.amzn2023.0.1.x86_64
php8.1-opcache-8.1.22-1.amzn2023.0.1.x86_64
php8.1-ffi-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-process-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-cli-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-embedded-8.1.22-1.amzn2023.0.1.x86_64
php8.1-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-fpm-8.1.22-1.amzn2023.0.1.x86_64
php8.1-soap-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-opcache-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-xml-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-mbstring-8.1.22-1.amzn2023.0.1.x86_64
php8.1-mysqlnd-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-common-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-odbc-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-dbg-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-devel-8.1.22-1.amzn2023.0.1.x86_64
php8.1-dbg-8.1.22-1.amzn2023.0.1.x86_64
php8.1-xml-8.1.22-1.amzn2023.0.1.x86_64
php8.1-ffi-8.1.22-1.amzn2023.0.1.x86_64
php8.1-tidy-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-gmp-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-bcmath-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-process-8.1.22-1.amzn2023.0.1.x86_64
php8.1-gd-8.1.22-1.amzn2023.0.1.x86_64
php8.1-odbc-8.1.22-1.amzn2023.0.1.x86_64
php8.1-ldap-8.1.22-1.amzn2023.0.1.x86_64
php8.1-gmp-8.1.22-1.amzn2023.0.1.x86_64
php8.1-bcmath-8.1.22-1.amzn2023.0.1.x86_64
php8.1-dba-8.1.22-1.amzn2023.0.1.x86_64
php8.1-tidy-8.1.22-1.amzn2023.0.1.x86_64
php8.1-snmp-8.1.22-1.amzn2023.0.1.x86_64
php8.1-enchant-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-pspell-debuginfo-8.1.22-1.amzn2023.0.1.x86_64
php8.1-enchant-8.1.22-1.amzn2023.0.1.x86_64
php8.1-pspell-8.1.22-1.amzn2023.0.1.x86_64
php8.1-8.1.22-1.amzn2023.0.1.x86_64