Drupal core - SA-CORE-2022-011
Updated 22:00 UTC 2022-06-10: Added steps to update without drupal/core-recommended.
Drupal uses the third-party Guzzle library for handling HTTP requests and responses to external services. Guzzle has released two security advisories:
- Failure to strip the Cookie header on change in host or HTTP downgrade
- Fix failure to strip Authorization header on HTTP downgrade
These do not affect Drupal core, but may affect some contributed projects or custom code on Drupal sites.
We are issuing this security advisory outside our regular Drupal security release window schedule since Guzzle has already published information about the vulnerabilities, and vulnerabilities might exist in contributed modules or custom modules that use Guzzle for outgoing requests. Guzzle has rated these vulnerabilities as high-risk.
This advisory is not covered by Drupal Steward.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 8.0.0, < 9.2.21, >= 9.3.0, < 9.3.16 | 9.2.21, 9.3.16 |
| Composer package | guzzlehttp/guzzle | >= 4.0.0, < 6.5.7, >= 7.0.0, < 7.4.4 | 6.5.7, 7.4.4 |
| Drupal (core) | drupal/core | >= 8.0.0, < 9.2.21, >= 9.3.0, < 9.3.16 | 9.2.21, 9.3.16 |
References
- https://github.com/guzzle/guzzle/security/advisories/GHSA-f2wf-25xc-69c9
- https://nvd.nist.gov/vuln/detail/CVE-2022-31042
- https://github.com/guzzle/guzzle/commit/e3ff079b22820c2029d4c2a87796b6a0b8716ad8
- https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2022-31042.yaml
- https://github.com/guzzle/guzzle
- https://www.debian.org/security/2022/dsa-5246
- https://www.drupal.org/sa-core-2022-011
- https://www.rfc-editor.org/rfc/rfc9110.html#name-redirection-3xx
- https://github.com/guzzle/guzzle/security/advisories/GHSA-w248-ffj2-4v5q
- https://nvd.nist.gov/vuln/detail/CVE-2022-31043
- https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/guzzle/CVE-2022-31043.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-200, CWE-212, CWE-863- Platform
- Composer, Drupal
- Package
drupal/core, guzzlehttp/guzzle- Disclosed
- 09.06.2022
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-f2wf-25xc-69c9 - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w248-ffj2-4v5q - CC BY 4.0
OSV / GitHub Advisory Database - DRUPAL-CORE-2022-011 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/core
All published vulnerabilities of this package (Drupal (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 165
- First → latest
- 02.2018 09.2026
- Without a fix
- 3
- Exploited in attacks
- 5
Severity breakdown
- Critical 17
- High 44
- Medium 72
- Low 6
- Unrated 26
Disclosures per year
- 2018: 4
- 2019: 14
- 2020: 12
- 2021: 11
- 2022: 61
- 2023: 6
- 2024: 36
- 2025: 8
- 2026: 13
-
Drupal core - SA-CORE-2022-011 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.