CVE-2022-29248

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29248
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29248.json
Aliases
Related
Published
2022-05-25T18:15:08Z
Modified
2023-12-06T01:02:15.033858Z
Details

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.

References

Affected packages

Git / github.com/drupal/drupal

Affected ranges

Type
GIT
Repo
https://github.com/drupal/drupal
Events
Type
GIT
Repo
https://github.com/guzzle/guzzle
Events

Affected versions

7.*

7.0.0
7.0.1
7.1.0
7.1.1
7.2.0
7.3.0
7.4.0
7.4.1
7.4.2

9.*

9.2.0
9.2.1
9.2.10
9.2.11
9.2.12
9.2.13
9.2.14
9.2.15
9.2.16
9.2.17
9.2.18
9.2.19
9.2.2
9.2.3
9.2.4
9.2.5
9.2.6
9.2.7
9.2.8
9.2.9