中危 nodejs 安全漏洞 (CVE-2023-30590)

CVE编号

CVE-2023-30590

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-11-29
漏洞描述
The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values".

The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are consequently broad.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 nodejs node.js * From
(including)
16.0.0
Up to
(excluding)
16.20.1
运行在以下环境
应用 nodejs node.js * From
(including)
18.0.0
Up to
(excluding)
18.16.1
运行在以下环境
应用 nodejs node.js * From
(including)
20.0.0
Up to
(excluding)
20.3.1
运行在以下环境
系统 alma_linux_9 npm * Up to
(excluding)
16.20.1-1.el9_2
运行在以下环境
系统 amazon_2023 nodejs * Up to
(excluding)
18.12.1-1.amzn2023.0.7
运行在以下环境
系统 debian_12 nodejs * Up to
(excluding)
18.19.0+dfsg-6~deb12u1
运行在以下环境
系统 fedora_37 nodejs * Up to
(excluding)
18.16.1-1.fc37
运行在以下环境
系统 fedora_38 nodejs * Up to
(excluding)
18.16.1-1.fc38
运行在以下环境
系统 kylinos_aarch64_V10HPC npm * Up to
(excluding)
12.22.11-5.p01.ky10h
运行在以下环境
系统 kylinos_loongarch64_V10SP1 npm * Up to
(excluding)
12.22.11-1.p02.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10HPC npm * Up to
(excluding)
12.22.11-5.p01.ky10h
运行在以下环境
系统 opensuse_Leap_15.4 npm12 * Up to
(excluding)
12.22.12-150200.4.50.1
运行在以下环境
系统 opensuse_Leap_15.5 npm18 * Up to
(excluding)
18.16.1-150400.9.9.1
运行在以下环境
系统 oracle_9 npm * Up to
(excluding)
16.20.1-1.el9_2
运行在以下环境
系统 redhat_9 npm * Up to
(excluding)
16.20.1-1.el9_2
阿里云评分
6.2
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
NVD-CWE-Other
阿里云安全产品覆盖情况