MediumGHSA-q7rv-6hp3-vh96BIT-drupal-2022-24775CVE-2022-24775DRUPAL-CORE-2022-006

Improper Input Validation in guzzlehttp/psr7

Published 25 Mar 2022 · Updated 4 Feb 2026

Affected packages

Affected
<1.8.4
Fixed in
1.8.4
Update to the fixed version for your release line, for example:composer require guzzlehttp/psr7:^1.8.4
Affected
>=2.0.0 <2.1.1
Fixed in
2.1.1
Update to the fixed version for your release line, for example:composer require guzzlehttp/psr7:^2.1.1

Details

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

  • https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4

Is GHSA-q7rv-6hp3-vh96 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected guzzlehttp/psr7, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.