中危 debian_11 nodejs 使用不充分的随机数
CVE编号
CVE-2022-35255利用情况
暂无补丁情况
官方补丁披露时间
2022-12-06漏洞描述
A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with this: 1) It does not check the return value, it assumes EntropySource() always succeeds, but it can (and sometimes will) fail. 2) The random data returned byEntropySource() may not be cryptographically strong and therefore not suitable as keying material.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | nodejs | node.js | * | From (including) 15.0.0 | Up to (including) 15.14.0 | ||||
运行在以下环境 | |||||||||
应用 | nodejs | node.js | * | From (including) 16.0.0 | Up to (including) 16.12.0 | ||||
运行在以下环境 | |||||||||
应用 | nodejs | node.js | * | From (including) 16.13.0 | Up to (excluding) 16.17.1 | ||||
运行在以下环境 | |||||||||
应用 | nodejs | node.js | * | From (including) 18.0.0 | Up to (excluding) 18.9.1 | ||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | nodejs | * | Up to (excluding) 16.17.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | nodejs | * | Up to (excluding) 18.9.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | nodejs | * | Up to (excluding) 18.9.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | nodejs | * | Up to (excluding) 16.17.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | nodejs | * | Up to (excluding) 18.9.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2023 | nodejs | * | Up to (excluding) 18.12.1-1.amzn2023.0.2 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | nodejs-devel | * | Up to (excluding) 8.19.1-1.18.9.1.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | nodejs | * | Up to (excluding) 10.24.0~dfsg-1~deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | nodejs | * | Up to (excluding) 12.22.12~dfsg-1~deb11u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | nodejs | * | Up to (excluding) 18.10.0+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | nodejs | * | Up to (excluding) 18.10.0+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | npm-8.19.2-1.16.18.1.1.fc35.i686.rpm ( | * | Up to (excluding) 16.17.1-1.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | npm-8.19.2-1.16.18.1.1.fc36.x86_64.rpm ( | * | Up to (excluding) 16.17.1-1.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | npm-8.19.1-1.18.9.1.1.fc37.aarch64.rpm ( | * | Up to (excluding) 18.10.0-1.fc37 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | nodejs16-docs | * | Up to (excluding) 16.17.1-150300.7.12.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | nodejs18 | * | Up to (excluding) 16.17.1-150400.3.9.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.5 | nodejs18 | * | Up to (excluding) 18.13.0-150400.9.3.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 8.18.0-1.18.8.0.1.module+el8.7.0+20871+e727ae93 | |||||
运行在以下环境 | |||||||||
系统 | oracle_9 | oraclelinux-release | * | Up to (excluding) 8.15.0-1.16.17.1.1.el9_0 | |||||
运行在以下环境 | |||||||||
系统 | redhat_9 | nodejs-libs-debuginfo | * | Up to (excluding) 16.17.1-1.el9_0 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-330 | 使用不充分的随机数 |
CWE-338 | 使用具有密码学弱点缺陷的PRNG |
Exp相关链接

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