cve.bz

CVE-2022-29248

8.1 highEPSS 1.4%Fix available

High (8.1). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in drupal/core 9.2.20, 9.3.14.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-565 Reliance on Cookies without Validation and Integrity Checking
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-29248 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29248?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29248?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-29248 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
guzzlephp:guzzlebefore 6.5.6
guzzlephp:guzzlefrom 7.0.0 before 7.4.3
drupal:drupalfrom 9.2.0 before 9.2.20
drupal:drupalfrom 9.3.0 before 9.3.14
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
DRUPAL-CORE-2022-010Packagistdrupal/core>=8.0.0 <9.2.20
>=9.3.0 <9.3.14
9.2.20, 9.3.14
GHSA-cwmx-hcrq-mhc3Packagistguzzlehttp/guzzle<6.5.66.5.6
GHSA-cwmx-hcrq-mhc3Packagistguzzlehttp/guzzle>=7.0.0 <7.4.37.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11mediawiki1:1.35.8-1~deb11u1DSA-5246-1
Debian12, 13, 14guzzle7.4.4-1DEBIAN-CVE-2022-29248
Debian12, 13, 14mediawiki1:1.35.7-1DEBIAN-CVE-2022-29248
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moreguzzleno fix listedUBUNTU-CVE-2022-29248

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies Likelihood: High · Severity: High
  • CAPEC-39 Manipulating Opaque Client-based Data Tokens Likelihood: High · Severity: Medium
  • CAPEC-226 Session Credential Falsification through Manipulation Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON