Affected versions
Version ranges need review.
- Affected versions
- >= 8.0.0 <9.2.16 || >= 9.3.0 <9.3.9
- Fixed version
- 9.2.16 · 9.3.9
- Affected versions
- >= 2.0.0, < 2.1.1
- Fixed version
- 2.1.1
- Affected versions
- < 1.8.4
- Fixed version
- 1.8.4
- Affected versions
- >=2,<2.1.1|<1.8.4
- Fixed version
- Not reported
- Affected versions
- <=1.0.4
- Fixed version
- 1.0.5
Exploitation
Description
Impact
Improper header parsing. An attacker could sneak in a carriage return character (\r) and pass untrusted values in both the header names and values.
Patches
The issue is patched in 1.8.4 and 2.1.1.
Workarounds
There are no known workarounds.
References
Links
- https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/psr7/CVE-2022-24775.yaml
- https://github.com/advisories/GHSA-q7rv-6hp3-vh96
- https://github.com/guzzle/psr7/pull/485/commits/e55afaa3fc138c89adf3b55a8ba20dc60d17f1f1
- https://github.com/guzzle/psr7/pull/486/commits/9a96d9db668b485361ed9de7b5bf1e54895df1dc
- https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96
- https://nvd.nist.gov/vuln/detail/CVE-2022-24775
- https://www.drupal.org/sa-core-2022-006
- https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4
- https://www.wordfence.com/threat-intel/vulnerabilities/id/07b34541-25df-407b-8d56-16e3e510d83a?source=api-prod
Credits
- TimWolla
- GrahamCampbell
- Damien McKenna
- Jeroen Tubex

