中危 nodejs undici 对crlf序列的转义处理不恰当(crlf注入)

CVE编号

CVE-2022-31150

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-07-20
漏洞描述
undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 nodejs undici * Up to
(excluding)
5.8.0
运行在以下环境
系统 debian_12 node-undici * Up to
(excluding)
5.8.0+dfsg1+~cs18.9.16-1
运行在以下环境
系统 opensuse_Leap_15.3 npm16 * Up to
(excluding)
16.17.0-150300.7.9.1
运行在以下环境
系统 opensuse_Leap_15.4 npm16 * Up to
(excluding)
16.17.0-150400.3.6.1
阿里云评分
6.1
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-93 对CRLF序列的转义处理不恰当(CRLF注入)
NVD-CWE-Other
阿里云安全产品覆盖情况