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

Published Mar 20, 2022
·
Updated

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

Other sources

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.

Ubuntu

Affected Software

11 affected componentsFixes available
composer/guzzlehttp/psr7>=2, <2.1.1, <1.8.4
composer/guzzlehttp/psr7>=2.0.0<2.1.1
2.1.1
composer/guzzlehttp/psr7<1.8.4
1.8.4
ubuntu/php-guzzlehttp-psr7<1.4.2-0.1+
1.4.2-0.1+
ubuntu/php-guzzlehttp-psr7<1.8.3-1ubuntu0.1~
1.8.3-1ubuntu0.1~
ubuntu/php-guzzlehttp-psr7<1.8.4
1.8.4
debian/php-guzzlehttp-psr7
1.7.0-1+deb11u22.4.5-12.6.2-3
Drupal Drupal>=8.0.0<9.2.16
Drupal Drupal>=9.3.0<9.3.9
Guzzlephp Psr-7<1.8.4
Guzzlephp Psr-7>=2.0.0<2.1.1

Event History

Mar 20, 2022
Advisory Published
01:45 PM
Mar 21, 2022
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness
Feb 29, 2024
Data Sourced
via Launchpad·04:20 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-24775?

CVE-2022-24775 is a vulnerability in the guzzlehttp/psr7 library that allows improper parsing of HTTP headers, potentially allowing an attacker to pass untrusted values.

2

How severe is CVE-2022-24775?

CVE-2022-24775 has a severity rating of 7.5 (High).

3

Which versions of guzzlehttp/psr7 are affected by CVE-2022-24775?

Versions prior to 1.8.4 and 2.1.1 of guzzlehttp/psr7 are affected by CVE-2022-24775.

4

How can I fix CVE-2022-24775?

To fix CVE-2022-24775, you should update guzzlehttp/psr7 to version 1.8.4 or 2.1.1, as these versions contain the necessary patches.

5

Are there any known workarounds for CVE-2022-24775?

There are currently no known workarounds for CVE-2022-24775.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203