CVE-2022-31091: debian debian_linux
Vulnerability summary
CVE-2022-31091 is a high (CVSS 7.7) vulnerability in debian debian_linux. EPSS estimates a 1.53% chance of exploitation in the next 30 days, higher than 74.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 27-06-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Guzzle, an extensible PHP HTTP client. `Authorization` and `Cookie` headers on requests are sensitive information. In affected versions on making a request which responds with a redirect to a URI with a different port, if we choose to follow it, we should remove the `Authorization` and `Cookie` headers from the request, before containing. Previously, we would only consider a change in host or scheme. Affected Guzzle 7 users should upgrade to Guzzle 7.4.5 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.8 or 7.4.5. Note that a partial fix was implemented in Guzzle 7.4.2, where a change in host would trigger removal of the curl-added Authorization header, however this earlier fix did not cover change in scheme or change in port. An alternative approach would be to use your own redirect middleware, rather than ours, if you are unable to upgrade. If you do not require or expect redirects to be followed, one should simply disable redirects all together.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- NVDNIST7.7HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
1.53%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
0.00 pp
From 1.53% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu4 products
- civicrmAll versions (No fix recorded)
- icinga-php-thirdpartyAll versions (No fix recorded)
- icingaweb2-module-reactbundleAll versions (No fix recorded)
- mediawikiAll versions (No fix recorded)
Debian3 products
- guzzle< 7.4.5-1
- mediawiki< 1:1.35.7-1
- debian_linuxEOL11.0
Guzzle1 product
- guzzle< 6.5.8 | ≥ 7.0.0, < 7.4.5
Guzzlephp1 product
- guzzle< 6.5.8 | ≥ 7.0.0, < 7.4.5
4 vendors · 9 products
References
7 links- github.com/guzzle/guzzle/commit/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82REPORTPatchThird Party Advisory
- github.com/guzzle/guzzle/security/advisories/GHSA-q559-8m2m-g699REPORTMitigationThird Party Advisory
- security.gentoo.org/glsa/202305-24Vendor Advisory