CVE-2022-29248

Summary

CVECVE-2022-29248
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-05-25 18:15:00 UTC
Updated2023-07-21 16:54:00 UTC
DescriptionGuzzle 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.

Risk And Classification

Problem Types: CWE-565

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 11.0 All All All
Application Drupal Drupal All All All All
Application Guzzlephp Guzzle All All All All

References

ReferenceSourceLinkTags
Access to this page has been denied. CONFIRM www.drupal.org
Cross-domain cookie leakage · Advisory · guzzle/guzzle · GitHub CONFIRM github.com
[7.x] Fix cross-domain cookie leakage by GrahamCampbell · Pull Request #3018 · guzzle/guzzle · GitHub MISC github.com
Debian -- Security Information -- DSA-5246-1 mediawiki DEBIAN www.debian.org
[7.x] Fix cross-domain cookie leakage (#3018) · guzzle/guzzle@74a8602 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 154120 Drupal Core: Guzzle Library Information Disclosure Vulnerability (CVE-2022-29248)
  • 181110 Debian Security Update for mediawiki (DSA 5246-1)
  • 182811 Debian Security Update for mediawikiguzzle (CVE-2022-29248)
  • 690889 Free Berkeley Software Distribution (FreeBSD) Security Update for mediawiki (5ab54ea0-fa94-11ec-996c-080027b24e86)
  • 730507 Drupal Core Moderately Critical Guzzle Vulnerability (SA-CORE-2022-010)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report