{"api_version":"1","generated_at":"2026-04-23T02:37:17+00:00","cve":"CVE-2022-29248","urls":{"html":"https://cve.report/CVE-2022-29248","api":"https://cve.report/api/cve/CVE-2022-29248.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-29248","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-29248"},"summary":{"title":"CVE-2022-29248","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-05-25 18:15:00","updated_at":"2023-07-21 16:54:00"},"problem_types":["CWE-565"],"metrics":[],"references":[{"url":"https://www.drupal.org/sa-core-2022-010","name":"https://www.drupal.org/sa-core-2022-010","refsource":"CONFIRM","tags":[],"title":"Access to this page has been denied.","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3","name":"https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3","refsource":"CONFIRM","tags":[],"title":"Cross-domain cookie leakage · Advisory · guzzle/guzzle · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/guzzle/guzzle/pull/3018","name":"https://github.com/guzzle/guzzle/pull/3018","refsource":"MISC","tags":[],"title":"[7.x] Fix cross-domain cookie leakage by GrahamCampbell · Pull Request #3018 · guzzle/guzzle · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5246","name":"DSA-5246","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5246-1 mediawiki","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab","name":"https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab","refsource":"MISC","tags":[],"title":"[7.x] Fix cross-domain cookie leakage (#3018) · guzzle/guzzle@74a8602 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29248","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29248","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"29248","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"29248","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"drupal","cpe5":"drupal","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"29248","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"guzzlephp","cpe5":"guzzle","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-29248","qid":"154120","title":"Drupal Core: Guzzle Library Information Disclosure Vulnerability (CVE-2022-29248)"},{"cve":"CVE-2022-29248","qid":"181110","title":"Debian Security Update for mediawiki (DSA 5246-1)"},{"cve":"CVE-2022-29248","qid":"182811","title":"Debian Security Update for mediawikiguzzle (CVE-2022-29248)"},{"cve":"CVE-2022-29248","qid":"690889","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for mediawiki (5ab54ea0-fa94-11ec-996c-080027b24e86)"},{"cve":"CVE-2022-29248","qid":"730507","title":"Drupal Core Moderately Critical Guzzle Vulnerability (SA-CORE-2022-010)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-29248","STATE":"PUBLIC","TITLE":"Cross-domain cookie leakage in Guzzle"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"guzzle","version":{"version_data":[{"version_value":"< 6.5.6"},{"version_value":">= 7.0.0, < 7.4.3"}]}}]},"vendor_name":"guzzle"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3","refsource":"CONFIRM","url":"https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3"},{"name":"https://github.com/guzzle/guzzle/pull/3018","refsource":"MISC","url":"https://github.com/guzzle/guzzle/pull/3018"},{"name":"https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab","refsource":"MISC","url":"https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab"},{"refsource":"CONFIRM","name":"https://www.drupal.org/sa-core-2022-010","url":"https://www.drupal.org/sa-core-2022-010"},{"refsource":"DEBIAN","name":"DSA-5246","url":"https://www.debian.org/security/2022/dsa-5246"}]},"source":{"advisory":"GHSA-cwmx-hcrq-mhc3","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-05-25 18:15:00","lastModifiedDate":"2023-07-21 16:54:00","problem_types":["CWE-565"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.4.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:*","versionEndExcluding":"6.5.6","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","versionStartIncluding":"9.2.0","versionEndExcluding":"9.2.20","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","versionStartIncluding":"9.3.0","versionEndExcluding":"9.3.14","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}