Moderate severityNVD Advisory· Published Mar 21, 2022· Updated Apr 23, 2025
Improper Input Validation in guzzlehttp/psr7
CVE-2022-24775
Description
guzzlehttp/psr7 is a PSR-7 HTTP message library. Versions prior to 1.8.4 and 2.1.1 are vulnerable to improper header parsing. An attacker could sneak in a new line character and pass untrusted values. The issue is patched in 1.8.4 and 2.1.1. There are currently no known workarounds.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
guzzlehttp/psr7Packagist | < 1.8.4 | 1.8.4 |
guzzlehttp/psr7Packagist | >= 2.0.0, < 2.1.1 | 2.1.1 |
Affected products
3- osv-coords2 versions
>= 8.0.0, < 9.2.16+ 1 more
- (no CPE)range: >= 8.0.0, < 9.2.16
- (no CPE)range: < 1.8.4
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-q7rv-6hp3-vh96ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-24775ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/psr7/CVE-2022-24775.yamlghsaWEB
- github.com/guzzle/psr7/pull/485/commits/e55afaa3fc138c89adf3b55a8ba20dc60d17f1f1ghsax_refsource_MISCWEB
- github.com/guzzle/psr7/pull/486/commits/9a96d9db668b485361ed9de7b5bf1e54895df1dcghsax_refsource_MISCWEB
- github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96ghsax_refsource_CONFIRMWEB
- www.drupal.org/sa-core-2022-006ghsax_refsource_CONFIRMWEB
- www.rfc-editor.org/rfc/rfc7230ghsaWEB
News mentions
0No linked articles in our index yet.