CVE-2022-29248: Debian Linux

High severity, CVSS 8.1. EPSS: 1.4% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Drupal, from 9.2.0, before 9.2.20: fixed in 9.2.20
  • Drupal, from 9.3.0, before 9.3.14: fixed in 9.3.14
  • Guzzlephp Guzzle, before 6.5.6: fixed in 6.5.6
  • Guzzlephp Guzzle, from 7.0.0, before 7.4.3: fixed in 7.4.3

Affected products

  • Debian Debian Linux: version 11.0 only
  • Drupal Drupal: from 9.2.0, before 9.2.20 (fixed in 9.2.20); from 9.3.0, before 9.3.14 (fixed in 9.3.14)
  • Guzzlephp Guzzle: before 6.5.6 (fixed in 6.5.6); from 7.0.0, before 7.4.3 (fixed in 7.4.3)

Affected packages

Published 2022-05-25. Last modified 2026-06-17.