ALASPHP8.2-2025-007


Amazon Linux 2 Security Advisory: ALASPHP8.2-2025-007
Advisory Release Date: 2025-03-26 19:21 Pacific
Advisory Updated Date: 2025-04-01 16:05 Pacific
Severity: Medium

Issue Overview:

Header parser of `http` stream wrapper does not handle folded headers. (CVE-2025-1217)

When requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the requested resource performs a redirect. (CVE-2025-1219)

Streams HTTP wrapper does not fail for headers with invalid name and no colon. (CVE-2025-1734)

Stream HTTP wrapper header check might omit basic auth header. (CVE-2025-1736)

Stream HTTP wrapper truncate redirect location to 1024 bytes (CVE-2025-1861)


Affected Packages:

php


Note:

This advisory is applicable to Amazon Linux 2 - Php8.2 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.

New Packages:
aarch64:
    php-8.2.28-1.amzn2.0.1.aarch64
    php-cli-8.2.28-1.amzn2.0.1.aarch64
    php-dbg-8.2.28-1.amzn2.0.1.aarch64
    php-fpm-8.2.28-1.amzn2.0.1.aarch64
    php-common-8.2.28-1.amzn2.0.1.aarch64
    php-devel-8.2.28-1.amzn2.0.1.aarch64
    php-opcache-8.2.28-1.amzn2.0.1.aarch64
    php-ldap-8.2.28-1.amzn2.0.1.aarch64
    php-pdo-8.2.28-1.amzn2.0.1.aarch64
    php-mysqlnd-8.2.28-1.amzn2.0.1.aarch64
    php-pgsql-8.2.28-1.amzn2.0.1.aarch64
    php-process-8.2.28-1.amzn2.0.1.aarch64
    php-odbc-8.2.28-1.amzn2.0.1.aarch64
    php-soap-8.2.28-1.amzn2.0.1.aarch64
    php-snmp-8.2.28-1.amzn2.0.1.aarch64
    php-xml-8.2.28-1.amzn2.0.1.aarch64
    php-mbstring-8.2.28-1.amzn2.0.1.aarch64
    php-gd-8.2.28-1.amzn2.0.1.aarch64
    php-bcmath-8.2.28-1.amzn2.0.1.aarch64
    php-gmp-8.2.28-1.amzn2.0.1.aarch64
    php-dba-8.2.28-1.amzn2.0.1.aarch64
    php-embedded-8.2.28-1.amzn2.0.1.aarch64
    php-pspell-8.2.28-1.amzn2.0.1.aarch64
    php-intl-8.2.28-1.amzn2.0.1.aarch64
    php-enchant-8.2.28-1.amzn2.0.1.aarch64
    php-sodium-8.2.28-1.amzn2.0.1.aarch64
    php-debuginfo-8.2.28-1.amzn2.0.1.aarch64

src:
    php-8.2.28-1.amzn2.0.1.src

x86_64:
    php-8.2.28-1.amzn2.0.1.x86_64
    php-cli-8.2.28-1.amzn2.0.1.x86_64
    php-dbg-8.2.28-1.amzn2.0.1.x86_64
    php-fpm-8.2.28-1.amzn2.0.1.x86_64
    php-common-8.2.28-1.amzn2.0.1.x86_64
    php-devel-8.2.28-1.amzn2.0.1.x86_64
    php-opcache-8.2.28-1.amzn2.0.1.x86_64
    php-ldap-8.2.28-1.amzn2.0.1.x86_64
    php-pdo-8.2.28-1.amzn2.0.1.x86_64
    php-mysqlnd-8.2.28-1.amzn2.0.1.x86_64
    php-pgsql-8.2.28-1.amzn2.0.1.x86_64
    php-process-8.2.28-1.amzn2.0.1.x86_64
    php-odbc-8.2.28-1.amzn2.0.1.x86_64
    php-soap-8.2.28-1.amzn2.0.1.x86_64
    php-snmp-8.2.28-1.amzn2.0.1.x86_64
    php-xml-8.2.28-1.amzn2.0.1.x86_64
    php-mbstring-8.2.28-1.amzn2.0.1.x86_64
    php-gd-8.2.28-1.amzn2.0.1.x86_64
    php-bcmath-8.2.28-1.amzn2.0.1.x86_64
    php-gmp-8.2.28-1.amzn2.0.1.x86_64
    php-dba-8.2.28-1.amzn2.0.1.x86_64
    php-embedded-8.2.28-1.amzn2.0.1.x86_64
    php-pspell-8.2.28-1.amzn2.0.1.x86_64
    php-intl-8.2.28-1.amzn2.0.1.x86_64
    php-enchant-8.2.28-1.amzn2.0.1.x86_64
    php-sodium-8.2.28-1.amzn2.0.1.x86_64
    php-debuginfo-8.2.28-1.amzn2.0.1.x86_64