Skip to content
OpenAdvisories
Medium ALAS2023-2025-916 5 CVEs

Moderate: php8.1 security update (Amazon Linux 2023)

Published Mar 26, 2025 · Updated Apr 1, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-1861: Stream HTTP wrapper truncate redirect location to 1024 bytes CVE-2025-1736: Stream HTTP wrapper header check might omit basic auth header. CVE-2025-1734: Streams HTTP wrapper does not fail for headers with invalid name and no colon. CVE-2025-1219: 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-1217: Header parser of `http` stream wrapper does not handle folded headers.

Fixed packages 56

ReleasePackageFixed in
Amazon Linux · 2023 php8.1 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-bcmath 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-bcmath-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-cli 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-cli-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-common 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-common-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-dba 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-dba-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-dbg 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-dbg-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-debugsource 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-devel 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-embedded 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-embedded-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-enchant 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-enchant-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-ffi 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-ffi-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-fpm 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-fpm-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-gd 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-gd-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-gmp 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-gmp-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-intl 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-intl-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-ldap 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-ldap-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-mbstring 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-mbstring-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-mysqlnd 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-mysqlnd-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-odbc 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-odbc-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-opcache 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-opcache-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-pdo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-pdo-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-pgsql 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-pgsql-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-process 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-process-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-pspell 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-pspell-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-snmp 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-snmp-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-soap 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-soap-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-tidy 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-tidy-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-xml 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-xml-debuginfo 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-zip 0:8.1.32-1.amzn2023.0.1
Amazon Linux · 2023 php8.1-zip-debuginfo 0:8.1.32-1.amzn2023.0.1

Vulnerabilities 5

  • Medium 6.3

    Header parser of http stream wrapper does not handle folded headers

    In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when http request module parses HTTP response obtained from a server, folded headers are parsed incorrectly, which may lead to misinterpreting the re…

  • Medium 6.3
    CVE-2025-1219 Public exploit

    libxml streams use wrong content-type header when requesting a redirected resource

    In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when requesting a HTTP resource using the DOM or SimpleXML extensions, the wrong content-type header is used to determine the charset when the reques…

  • Medium 6.3

    Streams HTTP wrapper does not fail for headers with invalid name and no colon

    In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when receiving headers from HTTP server, the headers missing a colon (:) are treated as valid headers even though they are not. This may confuse appl…

  • Medium 6.3

    Stream HTTP wrapper header check might omit basic auth header

    In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when user-supplied headers are sent, the insufficient validation of the end-of-line characters may prevent certain headers from being sent or lead to…

  • Medium 6.3

    Stream HTTP wrapper truncates redirect location to 1024 bytes

    In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when parsing HTTP redirect in the response to an HTTP request, there is currently limit on the location value size caused by limited size of the loca…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1217.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1219.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1734.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1736.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-1861.html