Skip to content

Improper header validation in guzzlehttp/psr7

Moderate
GrahamCampbell published GHSA-wxmh-65f7-jcvw Apr 17, 2023

Package

composer guzzlehttp/psr7 (Composer)

Affected versions

<=1.9.0
>=2.0.0, <=2.4.4

Patched versions

1.9.1
2.4.5

Description

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

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVE ID

CVE-2023-29197

Weaknesses

No CWEs

Credits