中危 guzzlephp guzzle 信息暴露

CVE编号

CVE-2022-31043

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-06-10
漏洞描述
Guzzle is an open source PHP HTTP client. In affected versions `Authorization` 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, we should not forward the `Authorization` header on. This is much the same as to how we don't forward on the header if the host changes. Prior to this fix, `https` to `http` downgrades did not result in the `Authorization` header being removed, only changes to the host. 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 which would be to use their own redirect middleware. Alternately users may simply disable redirects all together if redirects are not expected or required.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
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 敏感数据的不恰当跨边界移除
CWE-863 授权机制不正确
阿里云安全产品覆盖情况