GHSA-cwmx-hcrq-mhc3 · Severity: high · Ecosystem: composer — Cross-domain cookie leakage in Guzzle
Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 and 7.4.3 contains a vulnerability with the cookie middleware. The vulnerability is that it is not checked if the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, allowing a malicious server to set cookies for unrelated domains. The cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' => true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability. Guzzle versions 6.5.6 and 7.4.3 contain a patch for this issue. As a workaround, turn off the cookie middleware.
Conclusion & alert: CVE-2022-29248 is rated Moderate Risk (56.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.64%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-01 | 0.45% | 0.64% | +0.18% |
| 2 | 2025-10-07 | 0.61% | 0.45% | -0.16% |
| 3 | 2025-10-06 | — | 0.61% | — |
Full EPSS history (16 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.0 | 3.1 | HIGH |
|
1.6 | 5.8 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.8 | 5.2 | [email protected] |
| 5.8 | 2.0 | MEDIUM |
|
8.6 | 4.9 | [email protected] |
GHSA-cwmx-hcrq-mhc3 · Severity: high · Ecosystem: composer — Cross-domain cookie leakage in Guzzle
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-29248 not yet assigned priority: Debian including 2 source packages (guzzle, mediawiki), 9 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 9. | https://security-tracker.debian.org/tracker/CVE-2022-29248 |
ubuntu
|
medium | CVE-2022-29248 medium priority: Ubuntu including 2 source packages (guzzle, php-guzzle), 9 status rows across 8 suites (kinetic, lunar, mantic, noble, oracular, plucky, questing, upstream): ignored 5, needs-triage 4. | https://ubuntu.com/security/CVE-2022-29248 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| guzzlephp | guzzle | < 6.5.6 | cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* |
| guzzlephp | guzzle | >= 7.0.0, < 7.4.3 | cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* |
| drupal | drupal | >= 9.2.0, < 9.2.20 | cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
| drupal | drupal | >= 9.3.0, < 9.3.14 | cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab | Patch Third Party Advisory |
| https://github.com/guzzle/guzzle/pull/3018 | Issue Tracking Patch Third Party Advisory |
| https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5246 | Third Party Advisory |
| https://www.drupal.org/sa-core-2022-010 | Patch Third Party Advisory |