Improper header name validation in guzzlehttp/psr7
Package
Affected versions
< 1.9.1
>= 2.0.0, < 2.4.5
Patched versions
1.9.1
2.4.5
Description
Published by the National Vulnerability Database
Apr 17, 2023
Published to the GitHub Advisory Database
Apr 19, 2023
Reviewed
Apr 19, 2023
Last updated
Jan 9, 2024
Impact
Improper header parsing. An attacker could sneak in a newline (
\n
) into both the header names and values. While the specification states that\r\n\r\n
is used to terminate the header list, many servers in the wild will also accept\n\n
.Patches
The issue is patched in 1.9.1 and 2.4.5.
Workarounds
There are no known workarounds.
References
References