{"schemaVersion":3,"id":"CVE-2022-29248","aliases":["UBUNTU-CVE-2022-29248","DEBIAN-CVE-2022-29248"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-05-25T00:00:00.000Z","modified":"2025-04-23T18:21:56.089Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":7.2,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01362,"percentile":0.71512,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.053000000000000096,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01309},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01362,"percentile":0.71512}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01341,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01362,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01362,"percentile":0.71512}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-565","name":"Reliance on Cookies without Validation and Integrity Checking","description":"The product relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/565.html"}],"affected":[{"vendor":"debian","product":"guzzle","name":"guzzle","label":"guzzle","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/guzzle","purlType":"deb","versions":[{"text":"< 7.4.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.4.4-1","eol":null,"hubHref":null},{"vendor":"debian","product":"mediawiki","name":"mediawiki","label":"mediawiki","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mediawiki","purlType":"deb","versions":[{"text":"< 1:1.35.7-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:1.35.7-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"guzzle","name":"guzzle","label":"guzzle","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/guzzle","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.0","eol":{"isEol":true,"eolDate":"2026-08-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11","label":"11 (Bullseye)","eolFrom":"2026-08-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"11.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"drupal","product":"drupal","name":"drupal","label":"drupal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 9.2.0, < 9.2.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 9.3.0, < 9.3.14","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 9.2.0, < 9.2.20 | ≥ 9.3.0, < 9.3.14","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"drupal","label":"Drupal","category":"server-app"}},"hubHref":"/vendor/drupal/drupal"},{"vendor":"guzzle","product":"guzzle","name":"guzzle","label":"guzzle","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.5.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.5.6 | ≥ 7.0.0, < 7.4.3","eol":null,"hubHref":"/vendor/guzzle/guzzle"},{"vendor":"guzzlephp","product":"guzzle","name":"guzzle","label":"guzzle","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.5.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.5.6 | ≥ 7.0.0, < 7.4.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"guzzle","label":"Guzzle","category":"framework"}},"hubHref":"/vendor/guzzlephp/guzzle"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3","label":"github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3","hostname":"github.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://github.com/guzzle/guzzle/pull/3018","label":"github.com/guzzle/guzzle/pull/3018","hostname":"github.com","tags":["REPORT","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab","label":"github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab","hostname":"github.com","tags":["REPORT","Patch","Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2022-010","label":"www.drupal.org/sa-core-2022-010","hostname":"www.drupal.org","tags":["REPORT","Patch","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5246","label":"www.debian.org/security/2022/dsa-5246","hostname":"www.debian.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-29248","label":"ubuntu.com/security/CVE-2022-29248","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29248","label":"www.cve.org/CVERecord?id=CVE-2022-29248","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-29248","label":"security-tracker.debian.org/tracker/CVE-2022-29248","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5246-1","MGASA-2022-0338"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-05-25T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:21:56.089Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T18:47:48.005Z","stale":false,"partial":false}}