# CVE-2022-24775: Improper Input Validation in guzzlehttp/psr7

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.48%, higher than 85% of CVEs (2026-12-01)
- Published: 2022-03-21T19:00:17.000Z
- Modified: 2026-09-19T18:11:37.000Z
- Also known as: GHSA-q7rv-6hp3-vh96, BIT-DRUPAL-2022-24775, DRUPAL-CORE-2022-006
- Related: CVE-2023-29197
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- guzzle psr7: < 1.8.4; >= 2.0.0, < 2.1.1
- guzzlehttp/psr7 (Packagist): before 1.8.4; from 2.0.0 before 2.1.1
- drupal/core (Packagist): from 8.0.0 before 9.2.16; from 9.3.0 before 9.3.9
- drupal drupal: from 8.0.0 before 9.2.16; from 9.3.0 before 9.3.9
- guzzlephp psr-7: before 1.8.4; from 2.0.0 before 2.1.1
- drupal (Bitnami): from 8.0.0 before 9.2.16; from 9.3.0 before 9.3.9

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96> (advisory, third-party-advisory, web)
- <https://github.com/guzzle/psr7/pull/485/commits/e55afaa3fc138c89adf3b55a8ba20dc60d17f1f1> (advisory, patch, third-party-advisory, web)
- <https://github.com/guzzle/psr7/pull/486/commits/9a96d9db668b485361ed9de7b5bf1e54895df1dc> (advisory, patch, third-party-advisory, web)
- <https://www.drupal.org/sa-core-2022-006> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24775> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/psr7/CVE-2022-24775.yaml> (web)
- <https://github.com/guzzle/psr7> (package)
- <https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4> (web)

## Sources

- CVE List: [CVE-2022-24775](https://www.cve.org/CVERecord?id=CVE-2022-24775), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-q7rv-6hp3-vh96](https://github.com/advisories/GHSA-q7rv-6hp3-vh96), CC-BY-4.0, modified 2026-02-04
- Drupal Security Team: [DRUPAL-CORE-2022-006](https://osv.dev/vulnerability/DRUPAL-CORE-2022-006), MIT, modified 2026-09-19
- NVD: [CVE-2022-24775](https://nvd.nist.gov/vuln/detail/CVE-2022-24775), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DRUPAL-2022-24775](https://osv.dev/vulnerability/BIT-DRUPAL-2022-24775), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-24775 · Whole record: https://cve.day/CVE-2022-24775.json · Rebuilt by cve.day 2026-11-25T22:58:10.216Z
