# CVE-2022-29248: guzzle: Guzzle is a PHP HTTP client

CVE-2022-29248 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2022-29248, released May 25, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-29248
- Priority: High
- CVSS: 8.1 (high)
- EPSS: 0.0135
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 25, 2022

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | guzzle Debian 12.15 (bookworm) | 7.4.4-1 | [DEBIAN-CVE-2022-29248](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29248.md) | May 25, 2022 |
| Linux | guzzle Debian 13.5 (trixie) | 7.4.4-1 | [DEBIAN-CVE-2022-29248](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29248.md) | May 25, 2022 |
| Linux | guzzle Debian 14 | 7.4.4-1 | [DEBIAN-CVE-2022-29248](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29248.md) | May 25, 2022 |
| Linux | mediawiki Debian 12.15 (bookworm) | 1:1.35.7-1 | [DEBIAN-CVE-2022-29248](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29248.md) | May 25, 2022 |
| Linux | mediawiki Debian 13.5 (trixie) | 1:1.35.7-1 | [DEBIAN-CVE-2022-29248](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29248.md) | May 25, 2022 |
| Linux | mediawiki Debian 14 | 1:1.35.7-1 | [DEBIAN-CVE-2022-29248](https://patchblox.com/security/data/fix/linux/debian-cve-2022-29248.md) | May 25, 2022 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
