Amazon Linux 2 Security Advisory: ALASPHP8.1-2023-002
Advisory Release Date: 2023-08-21 21:00 Pacific
Advisory Updated Date: 2023-09-14 01:05 Pacific
2023-09-14: CVE-2023-0568 was added to this advisory.
In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database, it may lead to an application allowing any password for this entry as valid. (CVE-2023-0567)
In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification. (CVE-2023-0568)
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-2023-0662)
Affected Packages:
php
Note:
This advisory is applicable to Amazon Linux 2 - Php8.1 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update php to update your system.
aarch64:
php-8.1.16-1.amzn2.aarch64
php-cli-8.1.16-1.amzn2.aarch64
php-dbg-8.1.16-1.amzn2.aarch64
php-fpm-8.1.16-1.amzn2.aarch64
php-common-8.1.16-1.amzn2.aarch64
php-devel-8.1.16-1.amzn2.aarch64
php-opcache-8.1.16-1.amzn2.aarch64
php-ldap-8.1.16-1.amzn2.aarch64
php-pdo-8.1.16-1.amzn2.aarch64
php-mysqlnd-8.1.16-1.amzn2.aarch64
php-pgsql-8.1.16-1.amzn2.aarch64
php-process-8.1.16-1.amzn2.aarch64
php-odbc-8.1.16-1.amzn2.aarch64
php-soap-8.1.16-1.amzn2.aarch64
php-snmp-8.1.16-1.amzn2.aarch64
php-xml-8.1.16-1.amzn2.aarch64
php-mbstring-8.1.16-1.amzn2.aarch64
php-gd-8.1.16-1.amzn2.aarch64
php-bcmath-8.1.16-1.amzn2.aarch64
php-gmp-8.1.16-1.amzn2.aarch64
php-dba-8.1.16-1.amzn2.aarch64
php-embedded-8.1.16-1.amzn2.aarch64
php-pspell-8.1.16-1.amzn2.aarch64
php-intl-8.1.16-1.amzn2.aarch64
php-enchant-8.1.16-1.amzn2.aarch64
php-sodium-8.1.16-1.amzn2.aarch64
php-debuginfo-8.1.16-1.amzn2.aarch64
src:
php-8.1.16-1.amzn2.src
x86_64:
php-8.1.16-1.amzn2.x86_64
php-cli-8.1.16-1.amzn2.x86_64
php-dbg-8.1.16-1.amzn2.x86_64
php-fpm-8.1.16-1.amzn2.x86_64
php-common-8.1.16-1.amzn2.x86_64
php-devel-8.1.16-1.amzn2.x86_64
php-opcache-8.1.16-1.amzn2.x86_64
php-ldap-8.1.16-1.amzn2.x86_64
php-pdo-8.1.16-1.amzn2.x86_64
php-mysqlnd-8.1.16-1.amzn2.x86_64
php-pgsql-8.1.16-1.amzn2.x86_64
php-process-8.1.16-1.amzn2.x86_64
php-odbc-8.1.16-1.amzn2.x86_64
php-soap-8.1.16-1.amzn2.x86_64
php-snmp-8.1.16-1.amzn2.x86_64
php-xml-8.1.16-1.amzn2.x86_64
php-mbstring-8.1.16-1.amzn2.x86_64
php-gd-8.1.16-1.amzn2.x86_64
php-bcmath-8.1.16-1.amzn2.x86_64
php-gmp-8.1.16-1.amzn2.x86_64
php-dba-8.1.16-1.amzn2.x86_64
php-embedded-8.1.16-1.amzn2.x86_64
php-pspell-8.1.16-1.amzn2.x86_64
php-intl-8.1.16-1.amzn2.x86_64
php-enchant-8.1.16-1.amzn2.x86_64
php-sodium-8.1.16-1.amzn2.x86_64
php-debuginfo-8.1.16-1.amzn2.x86_64