CVE-2022-31043 Fix failure to strip Authorization header on HTTP downgrade in Guzzle
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- PHPUbuntuDebian
Description
Guzzle is an open source PHP HTTP client. In affected versions Authorization headers on requests are sensitive information. On making a request using the https scheme to a server which responds with a redirect to a URI with the http scheme, we should not forward the Authorization header on. This is much the same as to how we don't forward on the header if the host changes. Prior to this fix, https to http downgrades did not result in the Authorization header being removed, only changes to the host. Affected Guzzle 7 users should upgrade to Guzzle 7.4.4 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.7 or 7.4.4. Users unable to upgrade may consider an alternative approach which would be to use their own redirect middleware. Alternately users may simply disable redirects all together if redirects are not expected or required.
Upgrade path
16 packages: 10 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/guzzle(Ubuntu 24.04) | = 7.4.5-1; All versions | No fix listed | No fix yet |
| ubuntu/guzzle(Ubuntu 25.10) | = 7.9.2-0.1; All versions | No fix listed | No fix yet |
| ubuntu/guzzle(Ubuntu 26.04) | = 7.9.2-0.1; = 7.9.2-0.1build1; All versions | No fix listed | No fix yet |
| ubuntu/guzzle(Ubuntu 26.10) | = 7.9.2-0.1build1; = 7.13.1-1; = 7.15.1-1; = 7.15.2-1 +2 more | No fix listed | No fix yet |
| debian/guzzle(Debian 12) | < 7.4.4-1 | 7.4.4-1 | Fixed |
| debian/guzzle(Debian 13) | < 7.4.4-1 | 7.4.4-1 | Fixed |
| debian/guzzle(Debian 14) | < 7.4.4-1 | 7.4.4-1 | Fixed |
| debian/mediawiki(Debian 12) | < 1:1.35.7-1 | 1:1.35.7-1 | Fixed |
| debian/mediawiki(Debian 13) | < 1:1.35.7-1 | 1:1.35.7-1 | Fixed |
| debian/mediawiki(Debian 14) | < 1:1.35.7-1 | 1:1.35.7-1 | Fixed |
| drupal/core(Packagist) | = 8.0.0; = 8.0.1; = 8.0.2; = 8.0.3 +247 more | 9.2.21, 9.3.16 | Fixed |
| drupal/drupal | = 9.4.0-alpha1; = 9.4.0-beta1; = 9.4.0-rc1; >= 9.2.0, < 9.2.21 +1 more | 9.2.21, 9.3.16 | Fixed |
| guzzlehttp/guzzle(Packagist) | = 4.0.0; = 4.0.1; = 4.0.2; = 4.1.0 +58 more | 6.5.7, 7.4.4 | Fixed |
| guzzlephp guzzle | < 6.5.7; >= 7.0.0, < 7.4.4 | 6.5.7, 7.4.4 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
| guzzle | = < 6.5.7; = >=7.0.0, < 7.4.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| drupal/core(Packagist) | >= 8.0.0, < 9.2.21 | 9.2.21 |
| drupal/core(Packagist) | >= 9.3.0, < 9.3.16 | 9.3.16 |
| drupal/core(Packagist) | = 8.0.0 | No fix listed |
| drupal/core(Packagist) | = 8.0.1 | No fix listed |
| drupal/core(Packagist) | = 8.0.2 | No fix listed |
| drupal/core(Packagist) | = 8.0.3 | No fix listed |
| drupal/core(Packagist) | = 8.0.4 | No fix listed |
| drupal/core(Packagist) | = 8.0.5 | No fix listed |
| drupal/core(Packagist) | = 8.0.6 | No fix listed |
| drupal/core(Packagist) | = 8.1.0 | No fix listed |
| drupal/core(Packagist) | = 8.1.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.1.0-beta2 | No fix listed |
| drupal/core(Packagist) | = 8.1.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.1.1 | No fix listed |
| drupal/core(Packagist) | = 8.1.10 | No fix listed |
| drupal/core(Packagist) | = 8.1.2 | No fix listed |
| drupal/core(Packagist) | = 8.1.3 | No fix listed |
| drupal/core(Packagist) | = 8.1.4 | No fix listed |
| drupal/core(Packagist) | = 8.1.5 | No fix listed |
| drupal/core(Packagist) | = 8.1.6 | No fix listed |
| drupal/core(Packagist) | = 8.1.7 | No fix listed |
| drupal/core(Packagist) | = 8.1.8 | No fix listed |
| drupal/core(Packagist) | = 8.1.9 | No fix listed |
| drupal/core(Packagist) | = 8.2.0 | No fix listed |
| drupal/core(Packagist) | = 8.2.0-beta1 | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| drupal/core(Packagist) | = 8.2.0-beta2 | No fix listed |
| drupal/core(Packagist) | = 8.2.0-beta3 | No fix listed |
| drupal/core(Packagist) | = 8.2.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.2.0-rc2 | No fix listed |
| drupal/core(Packagist) | = 8.2.1 | No fix listed |
| drupal/core(Packagist) | = 8.2.2 | No fix listed |
| drupal/core(Packagist) | = 8.2.3 | No fix listed |
| drupal/core(Packagist) | = 8.2.4 | No fix listed |
| drupal/core(Packagist) | = 8.2.5 | No fix listed |
| drupal/core(Packagist) | = 8.2.6 | No fix listed |
| drupal/core(Packagist) | = 8.2.7 | No fix listed |
| drupal/core(Packagist) | = 8.2.8 | No fix listed |
| drupal/core(Packagist) | = 8.3.0 | No fix listed |
| drupal/core(Packagist) | = 8.3.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 8.3.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.3.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.3.0-rc2 | No fix listed |
| drupal/core(Packagist) | = 8.3.1 | No fix listed |
| drupal/core(Packagist) | = 8.3.2 | No fix listed |
| drupal/core(Packagist) | = 8.3.3 | No fix listed |
| drupal/core(Packagist) | = 8.3.4 | No fix listed |
| drupal/core(Packagist) | = 8.3.5 | No fix listed |
| drupal/core(Packagist) | = 8.3.6 | No fix listed |
| drupal/core(Packagist) | = 8.3.7 | No fix listed |
| drupal/core(Packagist) | = 8.3.8 | No fix listed |
| drupal/core(Packagist) | = 8.3.9 | No fix listed |
| drupal/core(Packagist) | = 8.4.0 | No fix listed |
| drupal/core(Packagist) | = 8.4.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 8.4.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.4.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.4.0-rc2 | No fix listed |
| drupal/core(Packagist) | = 8.4.1 | No fix listed |
| drupal/core(Packagist) | = 8.4.2 | No fix listed |
| drupal/core(Packagist) | = 8.4.3 | No fix listed |
| drupal/core(Packagist) | = 8.4.4 | No fix listed |
| drupal/core(Packagist) | = 8.4.5 | No fix listed |
| drupal/core(Packagist) | = 8.4.6 | No fix listed |
| drupal/core(Packagist) | = 8.4.7 | No fix listed |
| drupal/core(Packagist) | = 8.4.8 | No fix listed |
| drupal/core(Packagist) | = 8.5.0 | No fix listed |
| drupal/core(Packagist) | = 8.5.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 8.5.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.5.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.5.1 | No fix listed |
| drupal/core(Packagist) | = 8.5.10 | No fix listed |
| drupal/core(Packagist) | = 8.5.11 | No fix listed |
| drupal/core(Packagist) | = 8.5.12 | No fix listed |
| drupal/core(Packagist) | = 8.5.13 | No fix listed |
| drupal/core(Packagist) | = 8.5.14 | No fix listed |
| drupal/core(Packagist) | = 8.5.15 | No fix listed |
| drupal/core(Packagist) | = 8.5.2 | No fix listed |
| drupal/core(Packagist) | = 8.5.3 | No fix listed |
| drupal/core(Packagist) | = 8.5.4 | No fix listed |
| drupal/core(Packagist) | = 8.5.5 | No fix listed |
| drupal/core(Packagist) | = 8.5.6 | No fix listed |
| drupal/core(Packagist) | = 8.5.7 | No fix listed |
| drupal/core(Packagist) | = 8.5.8 | No fix listed |
| drupal/core(Packagist) | = 8.5.9 | No fix listed |
| drupal/core(Packagist) | = 8.6.0 | No fix listed |
| drupal/core(Packagist) | = 8.6.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 8.6.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.6.0-beta2 | No fix listed |
| drupal/core(Packagist) | = 8.6.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.6.1 | No fix listed |
| drupal/core(Packagist) | = 8.6.10 | No fix listed |
| drupal/core(Packagist) | = 8.6.11 | No fix listed |
| drupal/core(Packagist) | = 8.6.12 | No fix listed |
| drupal/core(Packagist) | = 8.6.13 | No fix listed |
| drupal/core(Packagist) | = 8.6.14 | No fix listed |
| drupal/core(Packagist) | = 8.6.15 | No fix listed |
| drupal/core(Packagist) | = 8.6.16 | No fix listed |
| drupal/core(Packagist) | = 8.6.17 | No fix listed |
| drupal/core(Packagist) | = 8.6.18 | No fix listed |
| drupal/core(Packagist) | = 8.6.2 | No fix listed |
| drupal/core(Packagist) | = 8.6.3 | No fix listed |
| drupal/core(Packagist) | = 8.6.4 | No fix listed |
| drupal/core(Packagist) | = 8.6.5 | No fix listed |
| drupal/core(Packagist) | = 8.6.6 | No fix listed |
| drupal/core(Packagist) | = 8.6.7 | No fix listed |
| drupal/core(Packagist) | = 8.6.8 | No fix listed |
| drupal/core(Packagist) | = 8.6.9 | No fix listed |
| drupal/core(Packagist) | = 8.7.0 | No fix listed |
| drupal/core(Packagist) | = 8.7.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 8.7.0-alpha2 | No fix listed |
| drupal/core(Packagist) | = 8.7.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.7.0-beta2 | No fix listed |
| drupal/core(Packagist) | = 8.7.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.7.1 | No fix listed |
| drupal/core(Packagist) | = 8.7.10 | No fix listed |
| drupal/core(Packagist) | = 8.7.11 | No fix listed |
| drupal/core(Packagist) | = 8.7.12 | No fix listed |
| drupal/core(Packagist) | = 8.7.13 | No fix listed |
| drupal/core(Packagist) | = 8.7.14 | No fix listed |
| drupal/core(Packagist) | = 8.7.2 | No fix listed |
| drupal/core(Packagist) | = 8.7.3 | No fix listed |
| drupal/core(Packagist) | = 8.7.4 | No fix listed |
| drupal/core(Packagist) | = 8.7.5 | No fix listed |
| drupal/core(Packagist) | = 8.7.6 | No fix listed |
| drupal/core(Packagist) | = 8.7.7 | No fix listed |
| drupal/core(Packagist) | = 8.7.8 | No fix listed |
| drupal/core(Packagist) | = 8.7.9 | No fix listed |
| drupal/core(Packagist) | = 8.8.0 | No fix listed |
| drupal/core(Packagist) | = 8.8.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 8.8.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.8.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.8.1 | No fix listed |
| drupal/core(Packagist) | = 8.8.10 | No fix listed |
| drupal/core(Packagist) | = 8.8.11 | No fix listed |
| drupal/core(Packagist) | = 8.8.12 | No fix listed |
| drupal/core(Packagist) | = 8.8.2 | No fix listed |
| drupal/core(Packagist) | = 8.8.3 | No fix listed |
| drupal/core(Packagist) | = 8.8.4 | No fix listed |
| drupal/core(Packagist) | = 8.8.5 | No fix listed |
| drupal/core(Packagist) | = 8.8.6 | No fix listed |
| drupal/core(Packagist) | = 8.8.7 | No fix listed |
| drupal/core(Packagist) | = 8.8.8 | No fix listed |
| drupal/core(Packagist) | = 8.8.9 | No fix listed |
| drupal/core(Packagist) | = 8.9.0 | No fix listed |
| drupal/core(Packagist) | = 8.9.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 8.9.0-beta2 | No fix listed |
| drupal/core(Packagist) | = 8.9.0-beta3 | No fix listed |
| drupal/core(Packagist) | = 8.9.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 8.9.1 | No fix listed |
| drupal/core(Packagist) | = 8.9.10 | No fix listed |
| drupal/core(Packagist) | = 8.9.11 | No fix listed |
| drupal/core(Packagist) | = 8.9.12 | No fix listed |
| drupal/core(Packagist) | = 8.9.13 | No fix listed |
| drupal/core(Packagist) | = 8.9.14 | No fix listed |
| drupal/core(Packagist) | = 8.9.15 | No fix listed |
| drupal/core(Packagist) | = 8.9.16 | No fix listed |
| drupal/core(Packagist) | = 8.9.17 | No fix listed |
| drupal/core(Packagist) | = 8.9.18 | No fix listed |
| drupal/core(Packagist) | = 8.9.19 | No fix listed |
| drupal/core(Packagist) | = 8.9.2 | No fix listed |
| drupal/core(Packagist) | = 8.9.20 | No fix listed |
| drupal/core(Packagist) | = 8.9.3 | No fix listed |
| drupal/core(Packagist) | = 8.9.4 | No fix listed |
| drupal/core(Packagist) | = 8.9.5 | No fix listed |
| drupal/core(Packagist) | = 8.9.6 | No fix listed |
| drupal/core(Packagist) | = 8.9.7 | No fix listed |
| drupal/core(Packagist) | = 8.9.8 | No fix listed |
| drupal/core(Packagist) | = 8.9.9 | No fix listed |
| drupal/core(Packagist) | = 9.0.0 | No fix listed |
| drupal/core(Packagist) | = 9.0.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 9.0.0-alpha2 | No fix listed |
| drupal/core(Packagist) | = 9.0.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 9.0.0-beta2 | No fix listed |
| drupal/core(Packagist) | = 9.0.0-beta3 | No fix listed |
| drupal/core(Packagist) | = 9.0.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 9.0.1 | No fix listed |
| drupal/core(Packagist) | = 9.0.10 | No fix listed |
| drupal/core(Packagist) | = 9.0.11 | No fix listed |
| drupal/core(Packagist) | = 9.0.12 | No fix listed |
| drupal/core(Packagist) | = 9.0.13 | No fix listed |
| drupal/core(Packagist) | = 9.0.14 | No fix listed |
| drupal/core(Packagist) | = 9.0.2 | No fix listed |
| drupal/core(Packagist) | = 9.0.3 | No fix listed |
| drupal/core(Packagist) | = 9.0.4 | No fix listed |
| drupal/core(Packagist) | = 9.0.5 | No fix listed |
| drupal/core(Packagist) | = 9.0.6 | No fix listed |
| drupal/core(Packagist) | = 9.0.7 | No fix listed |
| drupal/core(Packagist) | = 9.0.8 | No fix listed |
| drupal/core(Packagist) | = 9.0.9 | No fix listed |
| drupal/core(Packagist) | = 9.1.0 | No fix listed |
| drupal/core(Packagist) | = 9.1.0-alpha1 | No fix listed |
| drupal/core(Packagist) | = 9.1.0-beta1 | No fix listed |
| drupal/core(Packagist) | = 9.1.0-rc1 | No fix listed |
| drupal/core(Packagist) | = 9.1.0-rc2 | No fix listed |
| drupal/core(Packagist) | = 9.1.0-rc3 | No fix listed |
| drupal/core(Packagist) | = 9.1.1 | No fix listed |
| drupal/core(Packagist) | = 9.1.10 | No fix listed |
| drupal/core(Packagist) | = 9.1.11 | No fix listed |
| drupal/core(Packagist) | = 9.1.12 | No fix listed |
| drupal/core(Packagist) | = 9.1.13 | No fix listed |
| drupal/core(Packagist) | = 9.1.14 | No fix listed |
References
- www.drupal.org patch third-party-advisory
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com exploit
- github.com product
- DSA-5246 third-party-advisory vendor-advisory
- www.rfc-editor.org issue-tracking third-party-advisory
- github.com issue-tracking third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit
- github.com
- github.com
- security-tracker.debian.org vendor-advisory
- Debian Security Tracker CVE-2022-31043 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking