CVE-2022-29248
published high CVSS 3.1 · 8.0Cross-domain cookie leakage in Guzzle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| guzzle | — | guzzle< 6.5.6 · >= 7.0.0, < 7.4.3 | Affected | Not stated | GitHub_M |
| Debian | bullseye | mediawiki | Advisory build | 1:1.35.8-1~deb11u1 | DSA-5246-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| guzzle | guzzle | < 6.5.6 (affected)>= 7.0.0, < 7.4.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
References
5Provider assertions
3GitHub_M · cna
Cross-domain cookie leakage in Guzzle
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- af9a1160da59fd39431f00d9dc0f4388d153b1c4d40802dc18dc5582456ec4a0
- Ingested
- 23 Sep 2026, 07:59:45 UTC
- Source record
- Official CVE record