中危 nodejs undici 源验证错误
CVE编号
CVE-2022-31151利用情况
暂无补丁情况
官方补丁披露时间
2022-07-21漏洞描述
Authorization headers are cleared on cross-origin redirect. However, cookie headers which are sensitive headers and are official headers found in the spec, remain uncleared. There are active users using cookie headers in undici. This may lead to accidental leakage of cookie to a 3rd-party site or a malicious attacker who can control the redirection target (ie. an open redirector) to leak the cookie to the 3rd party site. This was patched in v5.7.1. By default, this vulnerability is not exploitable. Do not enable redirections, i.e. `maxRedirections: 0` (the default).解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | nodejs | undici | * | Up to (excluding) 5.7.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | node-undici | * | Up to (excluding) 5.8.0+dfsg1+~cs18.9.16-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | node-undici | * | Up to (excluding) 5.8.0+dfsg1+~cs18.9.16-1 |
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-346 | 源验证错误 |
CWE-601 | 指向未可信站点的URL重定向(开放重定向) |
Exp相关链接

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