2084AI 安全观察

CVE

CVE-2023-30590

CVE-2023-30590HIGH 7.5EPSS 74%

CNA 原文 · 原文(英文)

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.

受影响版本

Node.js 的全部漏洞 →

  • ≥ 20.0.0, < 20.3.1修复版本 20.3.1
  • ≥ 18.0.0, < 18.16.1修复版本 18.16.1
  • ≥ 16.0.0, < 16.20.1修复版本 16.20.1

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。