CVE-2022-29248

CVSS v3.1 8.1 (High)
81% Progress
CVSS v2.0 5.8 (Medium)
58% Progress
EPSS 0.46 % (76th)
0.46% Progress
Affected Products 3
Advisories 3

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.

Weaknesses
CWE-200
Exposure of Sensitive Information to an Unauthorized Actor
CWE-565
Reliance on Cookies without Validation and Integrity Checking
CVE Status
PUBLISHED
CNA
GitHub, Inc.
Published Date
2022-05-25 18:15:08
(2 years ago)
Updated Date
2023-07-21 16:54:50
(14 months ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Guzzlephp Guzzle prior 6.5.6 version cpe:2.3:a:guzzlephp:guzzle < 6.5.6
  Guzzlephp Guzzle from 7.0.0 version and prior 7.4.3 version cpe:2.3:a:guzzlephp:guzzle >= 7.0.0 < 7.4.3

Configuration #2

    CPE23 From Up To
  Drupal from 9.2.0 version and prior 9.2.20 version cpe:2.3:a:drupal:drupal >= 9.2.0 < 9.2.20
  Drupal from 9.3.0 version and prior 9.3.14 version cpe:2.3:a:drupal:drupal >= 9.3.0 < 9.3.14

Configuration #3

    CPE23 From Up To
  Debian Linux 11.0 cpe:2.3:o:debian:debian_linux:11.0
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...