Skip to content

Improper Input Validation in guzzlehttp/psr7

Moderate severity GitHub Reviewed Published Mar 20, 2022 in guzzle/psr7 • Updated Feb 5, 2024

Package

composer guzzlehttp/psr7 (Composer)

Affected versions

< 1.8.4
>= 2.0.0, < 2.1.1

Patched versions

1.8.4
2.1.1

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

References

@Nyholm Nyholm published to guzzle/psr7 Mar 20, 2022
Published by the National Vulnerability Database Mar 21, 2022
Published to the GitHub Advisory Database Mar 25, 2022
Reviewed Mar 25, 2022
Last updated Feb 5, 2024

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

Weaknesses

CVE ID

CVE-2022-24775

GHSA ID

GHSA-q7rv-6hp3-vh96

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.