Bug 2356046 (CVE-2025-1861) - CVE-2025-1861 php: Stream HTTP wrapper truncates redirect location to 1024 bytes
Summary: CVE-2025-1861 php: Stream HTTP wrapper truncates redirect location to 1024 bytes
Keywords:
Status: NEW
Alias: CVE-2025-1861
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-30 07:01 UTC by OSIDB Bzimport
Modified: 2025-05-13 15:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:4263 0 None None None 2025-04-28 15:15:06 UTC
Red Hat Product Errata RHSA-2025:7418 0 None None None 2025-05-13 11:54:39 UTC
Red Hat Product Errata RHSA-2025:7431 0 None None None 2025-05-13 11:57:04 UTC
Red Hat Product Errata RHSA-2025:7432 0 None None None 2025-05-13 11:57:16 UTC
Red Hat Product Errata RHSA-2025:7489 0 None None None 2025-05-13 15:58:37 UTC

Description OSIDB Bzimport 2025-03-30 07:01:04 UTC
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 location buffer to 1024. However as per RFC9110, the limit is recommended to be 8000. This may lead to incorrect URL truncation and redirecting to a wrong location.

Comment 2 errata-xmlrpc 2025-04-28 15:15:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:4263 https://access.redhat.com/errata/RHSA-2025:4263

Comment 3 errata-xmlrpc 2025-05-13 11:54:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7418 https://access.redhat.com/errata/RHSA-2025:7418

Comment 4 errata-xmlrpc 2025-05-13 11:57:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7431 https://access.redhat.com/errata/RHSA-2025:7431

Comment 5 errata-xmlrpc 2025-05-13 11:57:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7432 https://access.redhat.com/errata/RHSA-2025:7432

Comment 6 errata-xmlrpc 2025-05-13 15:58:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:7489 https://access.redhat.com/errata/RHSA-2025:7489


Note You need to log in before you can comment on or make changes to this bug.