PT-2022-28159
CVE-2023-29197
·
Published
2022-03-25
·
Updated
2024-08-20
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions
guzzlehttp/psr7 versions prior to 1.9.1
guzzlehttp/psr7 versions prior to 2.4.5
Description
The issue concerns improper header parsing, allowing an attacker to sneak in a newline (
) into both the header names and values. Many servers will also accept `to terminate the header list, which is not in line with the specification that statesr
r
` should be used. This could potentially lead to application errors or invalid HTTP requests being sent out, possibly causing a denial of service vector if a remote service's web application firewall bans the application due to the receipt of malformed requests.Recommendations
For guzzlehttp/psr7 versions prior to 1.9.1, upgrade to version 1.9.1 or later.
For guzzlehttp/psr7 versions prior to 2.4.5, upgrade to version 2.4.5 or later.
As a temporary workaround, consider validating HTTP header keys and/or values, and if using user-supplied values, filter them to strip off leading or trailing newline characters before processing.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾