中危 nodejs-current 安全漏洞 (CVE-2023-39332)
CVE编号
CVE-2023-39332利用情况
暂无补丁情况
官方补丁披露时间
2023-10-18漏洞描述
Various `node:fs` functions allow specifying paths as either strings or `Uint8Array` objects. In Node.js environments, the `Buffer` class extends the `Uint8Array` class. Node.js prevents path traversal through strings (see CVE-2023-30584) and `Buffer` objects (see CVE-2023-32004), but not through non-`Buffer` `Uint8Array` objects. This is distinct from CVE-2023-32004 ([report 2038134](https://hackerone.com/reports/2038134)), which only referred to `Buffer` objects. However, the vulnerability follows the same pattern using `Uint8Array` instead of `Buffer`. Impacts: This vulnerability affects all users using the experimental permission model in Node.js 20. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://hackerone.com/reports/2199818 | |
https://lists.fedoraproject.org/archives/list/[email protected]... | |
https://security.netapp.com/advisory/ntap-20231116-0009/ |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | nodejs | node.js | * | Up to (excluding) 20.8.0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | nodejs-current | * | Up to (excluding) 20.8.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | nodejs-current | * | Up to (excluding) 20.8.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | nodejs | * | Up to (excluding) 10.24.0~dfsg-1~deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | nodejs | * | Up to (excluding) 12.22.12~dfsg-1~deb11u4 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | nodejs | * | Up to (excluding) 18.13.0+dfsg1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | nodejs | * | Up to (excluding) 18.13.0+dfsg1-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | nodejs20-docs | * | Up to (excluding) 20.8.1-1.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_38 | nodejs20-docs | * | Up to (excluding) 20.8.1-1.fc38 | |||||
运行在以下环境 | |||||||||
系统 | fedora_39 | v8-11.3-devel-11.3.244.8-1.20.8.1.1.fc39.s390x.rpm ( | * | Up to (excluding) 20.8.1-1.fc39 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-22 | 对路径名的限制不恰当(路径遍历) |
Exp相关链接

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