CVE-2022-31042: debian debian_linux
Vulnerability summary
CVE-2022-31042 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 1.96% chance of exploitation in the next 30 days, higher than 80% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 09-06-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Guzzle is an open source PHP HTTP client. In affected versions the `Cookie` 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, or on making a request to a server which responds with a redirect to a a URI to a different host, we should not forward the `Cookie` header on. Prior to this fix, only cookies that were managed by our cookie middleware would be safely removed, and any `Cookie` header manually added to the initial request would not be stripped. We now always strip it, and allow the cookie middleware to re-add any cookies that it deems should be there. 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 to use your own redirect middleware, rather than ours. 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.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.96%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
+0.05 pp
From 1.91% 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 cause- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
- CWE-212Improper Removal of Sensitive Information Before Storage or TransferThe product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.
Affected systems
Debian3 products
- guzzle< 7.4.4-1
- mediawiki< 1:1.35.7-1
- debian_linuxEOL11.0
Drupal1 product
- drupalEOL≥ 9.2.0, < 9.2.21 | ≥ 9.3.0, < 9.3.16 | 9.4.0:alpha1 | 9.4.0:beta1 | 9.4.0:rc1
Guzzle1 product
- guzzle< 6.5.7 | ≥ 7.0.0, < 7.4.4
Guzzlephp1 product
- guzzle< 6.5.7 | ≥ 7.0.0, < 7.4.4
Ubuntu1 product
- guzzleAll versions (No fix recorded)
5 vendors · 7 products
References
8 links- github.com/guzzle/guzzle/commit/e3ff079b22820c2029d4c2a87796b6a0b8716ad8REPORTPatchThird Party Advisory