CVE-2022-29248
CVSS V2 Medium 5.8
CVSS V3 High 8.1
Description
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.
Overview
- CVE ID
- CVE-2022-29248
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-05-25T18:15:08
- Last Modified Date
- 2022-12-03T02:32:22
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* | 1 | OR | 6.5.6 | |
cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* | 1 | OR | 7.0.0 | 7.4.3 |
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* | 1 | OR | 9.2.0 | 9.2.20 |
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* | 1 | OR | 9.3.0 | 9.3.14 |
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 8.1
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.2
References
Reference URL | Reference Tags |
---|---|
https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab | Patch Third Party Advisory |
https://github.com/guzzle/guzzle/pull/3018 | Issue Tracking Patch Third Party Advisory |
https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5246 | |
https://www.drupal.org/sa-core-2022-010 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-29248 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29248 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-25 19:00:08 | Added to TrackCVE | |||
2022-12-06 14:31:56 | 2022-12-03T02:32:22 | CVE Modified Date | updated | |
2022-12-06 14:31:56 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |