{"id":"CVE-2022-31043","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-31043","generatedAt":"2026-10-27T20:54:02.143Z","title":"Guzzle is an open source PHP HTTP client.","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.","published":"2022-06-10T00:15:08.000Z","lastModified":"2026-06-17T04:44:40.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-200","CWE-212"],"affected":["guzzlephp/guzzle","drupal/drupal","debian/debian linux"],"epss":{"score":0.01961,"percentile":0.80182,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.96%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/guzzle/guzzle/commit/e3ff079b22820c2029d4c2a87796b6a0b8716ad8","tags":["Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/guzzle/guzzle/security/advisories/GHSA-w248-ffj2-4v5q","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://www.debian.org/security/2022/dsa-5246","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://www.drupal.org/sa-core-2022-011","tags":["Patch","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-redirection-3xx","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/guzzle/guzzle/commit/e3ff079b22820c2029d4c2a87796b6a0b8716ad8","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/guzzle/guzzle/security/advisories/GHSA-w248-ffj2-4v5q","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.debian.org/security/2022/dsa-5246","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.drupal.org/sa-core-2022-011","tags":["Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.rfc-editor.org/rfc/rfc9110.html#name-redirection-3xx","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31043","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}