中危 guzzlephp guzzle 信息暴露

CVE编号

CVE-2022-31042

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-06-10
漏洞描述
Guzzle is an open source PHP HTTP client. In affected versions the `Cookie` headers on requests are sensitive information. On making a request using the `https` scheme to a server which responds with a redirect to a URI with the `http` scheme, or on making a request to a server which responds with a redirect to a a URI to a different host, we should not forward the `Cookie` header on. Prior to this fix, only cookies that were managed by our cookie middleware would be safely removed, and any `Cookie` header manually added to the initial request would not be stripped. We now always strip it, and allow the cookie middleware to re-add any cookies that it deems should be there. Affected Guzzle 7 users should upgrade to Guzzle 7.4.4 as soon as possible. Affected users using any earlier series of Guzzle should upgrade to Guzzle 6.5.7 or 7.4.4. Users unable to upgrade may consider an alternative approach to use your own redirect middleware, rather than ours. If you do not require or expect redirects to be followed, one should simply disable redirects all together.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 drupal drupal * From
(including)
9.2.0
Up to
(excluding)
9.2.21
运行在以下环境
应用 drupal drupal * From
(including)
9.3.0
Up to
(excluding)
9.3.16
运行在以下环境
应用 drupal drupal 9.4.0 -
运行在以下环境
应用 guzzlephp guzzle * Up to
(excluding)
6.5.7
运行在以下环境
应用 guzzlephp guzzle * From
(including)
7.0.0
Up to
(excluding)
7.4.4
运行在以下环境
系统 debian_10 mediawiki * Up to
(excluding)
1.31.16-1+deb10u7
运行在以下环境
系统 debian_11 mediawiki * Up to
(excluding)
1.35.8-1~deb11u1
运行在以下环境
系统 debian_12 guzzle * Up to
(excluding)
1.35.7-1
阿里云评分
6.3
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-200 信息暴露
CWE-212 敏感数据的不恰当跨边界移除
阿里云安全产品覆盖情况