CVE-2022-31043: Fix failure to strip Authorization header on HTTP downgrade in Guzzle
Vendor fix available · Affected: guzzle · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 81% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- guzzle · guzzle< 6.5.7; >=7.0.0, < 7.4.4
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2022-31043 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-200cwe.mitre.org
- Vendor advisorydebian.org
- github.com/guzzle/guzzle/commit/e3ff079b22820c2029d4c2a87796b6a0github.com
- rfc-editor.org/rfc/rfc9110.html#name-redirection-3xxrfc-editor.org
- github.com/guzzle/guzzle/security/advisories/GHSA-w248-ffj2-4v5qgithub.com
- drupal.org/sa-core-2022-011drupal.org