CVE-2022-29248
Summary
| CVE | CVE-2022-29248 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-25 18:15:00 UTC |
| Updated | 2023-07-21 16:54:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-565
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Access to this page has been denied. | CONFIRM | www.drupal.org | |
| Cross-domain cookie leakage · Advisory · guzzle/guzzle · GitHub | CONFIRM | github.com | |
| [7.x] Fix cross-domain cookie leakage by GrahamCampbell · Pull Request #3018 · guzzle/guzzle · GitHub | MISC | github.com | |
| Debian -- Security Information -- DSA-5246-1 mediawiki | DEBIAN | www.debian.org | |
| [7.x] Fix cross-domain cookie leakage (#3018) · guzzle/guzzle@74a8602 · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 154120 Drupal Core: Guzzle Library Information Disclosure Vulnerability (CVE-2022-29248)
- 181110 Debian Security Update for mediawiki (DSA 5246-1)
- 182811 Debian Security Update for mediawikiguzzle (CVE-2022-29248)
- 690889 Free Berkeley Software Distribution (FreeBSD) Security Update for mediawiki (5ab54ea0-fa94-11ec-996c-080027b24e86)
- 730507 Drupal Core Moderately Critical Guzzle Vulnerability (SA-CORE-2022-010)