中危 guzzlephp guzzle 信息暴露
CVE编号
CVE-2022-31091利用情况
暂无补丁情况
官方补丁披露时间
2022-06-28漏洞描述
Guzzle, an extensible PHP HTTP client. `Authorization` and `Cookie` headers on requests are sensitive information. In affected versions on making a request which responds with a redirect to a URI with a different port, if we choose to follow it, we should remove the `Authorization` and `Cookie` headers from the request, before containing. Previously, we would only consider a change in host or scheme. Affected Guzzle 7 users should upgrade to Guzzle 7.4.5 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.8 or 7.4.5. Note that a partial fix was implemented in Guzzle 7.4.2, where a change in host would trigger removal of the curl-added Authorization header, however this earlier fix did not cover change in scheme or change in port. An alternative approach would be to use your own redirect middleware, rather than ours, if you are unable to upgrade. If you do not require or expect redirects to be followed, one should simply disable redirects all together.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | guzzlephp | guzzle | * | Up to (excluding) 6.5.8 | |||||
运行在以下环境 | |||||||||
应用 | guzzlephp | guzzle | * | From (including) 7.0.0 | Up to (excluding) 7.4.5 | ||||
运行在以下环境 | |||||||||
系统 | debian_10 | mediawiki | * | Up to (excluding) 1.31.16-1+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | mediawiki | * | Up to (excluding) 1:1.35.8-1~deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | guzzle | * | Up to (excluding) 1:1.35.7-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | guzzle | * | Up to (excluding) 1:1.35.7-1 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-200 | 信息暴露 |
NVD-CWE-noinfo |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论