ADVISORIES

GitHub Advisory Database

GHSA-q7rv-6hp3-vh96

Improper Input Validation in guzzlehttp/psr7

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

Affected packages

EcosystemPackageAffected versions
Packagistguzzlehttp/psr7
All versions before 1.8.4 (fixed in 1.8.4)
Packagistguzzlehttp/psr7
From 2.0.0 before 2.1.1 (fixed in 2.1.1)

References