CVE
CVE-2026-21710
CNA 原文 · 原文(英文)
A flaw in Node.js HTTP request handling causes an uncaught `TypeError` when a request is received with a header named `__proto__` and the application accesses `req.headersDistinct`. When this occurs, `dest["__proto__"]` resolves to `Object.prototype` rather than `undefined`, causing `.push()` to be called on a non-array. This exception is thrown synchronously inside a property getter and cannot be intercepted by `error` event listeners, meaning it cannot be handled without wrapping every `req.headersDistinct` access in a `try/catch`. * This vulnerability affects all Node.js HTTP servers on **20.x, 22.x, 24.x, and v25.x**
受影响版本
- ≥ 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 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- nodejs.org/en/blog/vulnerability/march-2026-security-releases · Vendor Advisory
- access.redhat.com/errata/RHSA-2026:7080 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7123 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7302 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7310 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7350 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7670 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7675 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7896 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:7983 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:8339 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:9711 · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。