InfraGuard

CVE-2022-29248

Cross-domain cookie leakage in Guzzle

8.1 CVSS 3.1EPSS 1.4%

原始描述

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.

受影响的软件

详情

发布日期
2022-05-25
最后修改
2026-06-17
CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE
CWE-200, CWE-565
EPSS(30 天内被利用概率)
1.35% (百分位 72)

参考资料

在您自己的服务器上追踪这些版本

InfraGuard 从每台服务器收集已安装软件的版本,并标出存在已知漏洞的版本。自托管部署——数据不会离开您的网络。

每周已被利用漏洞摘要

每周一次,推送与自托管服务器相关的 KEV 新增条目。不发送其他邮件。

本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。