cve.bz

CVE-2022-31090

7.7 highEPSS 1.9%Fix available

High (7.7). EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in guzzlehttp/guzzle 6.5.8, 7.4.5.

On this page
Guzzle, an extensible PHP HTTP client. `Authorization` headers on requests are sensitive information. In affected versions when using our Curl handler, it is possible to use the `CURLOPT_HTTPAUTH` option to specify an `Authorization` header. On making a request which responds with a redirect to a URI with a different origin (change in host, scheme or port), if we choose to follow it, we should remove the `CURLOPT_HTTPAUTH` option before continuing, stopping curl from appending the `Authorization` header to the new request. 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. If you do not require or expect redirects to be followed, one should simply disable redirects all together. Alternatively, one can specify to use the Guzzle steam handler backend, rather than curl.

Severity

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31090 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31090?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31090?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31090 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
guzzlephp:guzzlebefore 6.5.8
guzzlephp:guzzlefrom 7.0.0 before 7.4.5
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-25mq-v84q-4j7rPackagistguzzlehttp/guzzle<6.5.86.5.8
GHSA-25mq-v84q-4j7rPackagistguzzlehttp/guzzle>=7.0.0 <7.4.57.4.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mediawiki1:1.35.8-1~deb11u1DSA-5246-1
Debian12, 13, 14guzzle7.4.5-1DEBIAN-CVE-2022-31090
Debian12, 13, 14mediawiki1:1.35.7-1DEBIAN-CVE-2022-31090
Ubuntu18.04:LTSmediawikino fix listedUBUNTU-CVE-2022-31090
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreicinga-php-thirdparty, icingaweb2-module-reactbundleno fix listedUBUNTU-CVE-2022-31090
UbuntuPro:16.04:LTS, Pro:18.04:LTScivicrmno fix listedUBUNTU-CVE-2022-31090
UbuntuPro:20.04:LTS, Pro:22.04:LTScivicrm, mediawikino fix listedUBUNTU-CVE-2022-31090

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-168 Windows ::DATA Alternate Data Stream Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON