2084AI 安全观察

CVE

CVE-2026-21713

CVE-2026-21713EPSS 32%

CNA 原文 · 原文(英文)

A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat models where high-resolution timing measurements are possible, this behavior could be exploited as a timing oracle to infer HMAC values. Node.js already provides timing-safe comparison primitives used elsewhere in the codebase, indicating this is an oversight rather than an intentional design decision. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.

受影响版本

Node.js 的全部漏洞 →

  • ≥ 25.0.0, ≤ 25.8.1受影响至 25.8.1(含),修复版本见厂商公告
  • ≥ 24.0.0, ≤ 24.14.0受影响至 24.14.0(含),修复版本见厂商公告
  • ≥ 22.0.0, ≤ 22.22.1受影响至 22.22.1(含),修复版本见厂商公告
  • ≤ 20.20.1受影响至 20.20.1(含),修复版本见厂商公告

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

公告与补丁

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