CVE-2022-29248 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab | CVE | PatchThird Party Advisory |
| https://github.com/guzzle/guzzle/pull/3018 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 | CVE | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5246 | CVE | Third Party Advisory |
| https://www.drupal.org/sa-core-2022-010 | CVE | PatchThird Party Advisory |
| https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab | [email protected] | PatchThird Party Advisory |
| https://github.com/guzzle/guzzle/pull/3018 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 | [email protected] | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5246 | [email protected] | Third Party Advisory |
| https://www.drupal.org/sa-core-2022-010 | [email protected] | PatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-565 | Reliance on Cookies without Validation and Integrity Checking | [email protected] |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| guzzlephp guzzle | < 6.5.6 >= 7.0.0, < 7.4.3 |
CPE
Remediation
| |
| drupal drupal | >= 9.2.0, < 9.2.20 >= 9.3.0, < 9.3.14 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 21, 2023 | Reanalysis | [email protected] |
| Dec 3, 2022 | Modified Analysis | [email protected] |
| Oct 6, 2022 | CVE Modified | [email protected] |
| Jun 7, 2022 | Initial Analysis | [email protected] |
| May 25, 2022 | CVE Modified | [email protected] |