cbcvebase.
CVE-2022-29248
published 2022-05-25

CVE-2022-29248: 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…

PriorityP341high8.1CVSS 3.1
AVNACLPRNUIRSUCHIHAN
EPSS
1.24%
65.4th percentile
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.

Affected

21 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianguzzle< guzzle 7.4.4-1 (bookworm)guzzle 7.4.4-1 (bookworm)
debianmediawiki< guzzle 7.4.4-1 (bookworm)guzzle 7.4.4-1 (bookworm)
drupalcore>= 8.0.0 < 9.2.209.2.20
drupalcore>= 9.3.0 < 9.3.149.3.14
drupaldrupal>= 9.2.0 < 9.2.209.2.20
drupaldrupal>= 9.3.0 < 9.3.149.3.14
drupaldrupal_core
guzzleguzzle< 6.5.66.5.6
guzzleguzzle
guzzleguzzle>= 0 < 7.4.4-17.4.4-1
guzzleguzzle>= 0 < 7.4.4-17.4.4-1
guzzleguzzle>= 0 < 7.4.4-17.4.4-1
guzzlehttpguzzle>= 0 < 6.5.66.5.6
guzzlehttpguzzle>= 7.0.0 < 7.4.37.4.3
guzzlephpguzzle< 6.5.66.5.6
guzzlephpguzzle>= 7.0.0 < 7.4.37.4.3
mediawikimediawiki>= 0 < 1:1.35.8-1~deb11u11:1.35.8-1~deb11u1
mediawikimediawiki>= 0 < 1:1.35.7-11:1.35.7-1
mediawikimediawiki>= 0 < 1:1.35.7-11:1.35.7-1
mediawikimediawiki>= 0 < 1:1.35.7-11:1.35.7-1

CVSS provenance

nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
nvdv2.05.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:N
osv8.1HIGH
vendor_debian8.0HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.