nginx2root:五个新的 nginx 漏洞,以及 Cloudflare 如何保护源站免受其中最严重漏洞的影响
2026 年 11 月 18 日,F5 和 nginx.org 披露了 nginx 的十个漏洞。其中五个由 Xint 研究团队以 nginx2root 之名发布,是内存损坏缺陷,评级为高危(CVSS 3.1:8.1)和严重(CVSS 4.0:9.2),未认证的攻击者可利用它们使 worker 崩溃,或根据 Xint 的研究在服务器上执行命令。一个相关的 Linux 内核 SCTP use-after-free 漏洞可将这一立足点升级为宿主机的 root 权限,包括从 Docker 容器内部实现;截至 11 月 18 日尚无内核修复。
最严重的漏洞 CVE-2026-123007 是 HTTP/2 中的整数溢出,自 nginx 1.9.5(2015 年)起就存在,只需启用 HTTP/2 即受影响。其余为 use-after-free 漏洞,分别影响带 proxy_pass 的 HTTP/2(CVE-2026-123633)、HTTP/3/QUIC(CVE-2026-121810)、带变量 proxy_pass 加子请求的 resolver(CVE-2026-123634)以及带 auth_http 的邮件代理(CVE-2026-113425)。同一批版本还修复了 CVE-2026-118899,即在 TLS 1.3 上读取请求体时的无限循环。Censys 统计约有 880 万个服务运行可能受影响且启用了 HTTP/2 的版本。
Cloudflare 边缘节点不受影响。对于已代理的主机名,HTTP/2 和 HTTP/3 攻击会被阻断,因为客户端连接在边缘终止,攻击者控制的帧不会到达源站。邮件代理漏洞不受保护,resolver 漏洞仅得到部分缓解。这种保护只在源站无法被直接访问时成立,例如通过 Cloudflare Tunnel、IP 白名单或 Authenticated Origin Pulls。
管理员应升级到 nginx 1.30.7 或 1.31.9、nginx Plus 37.0.8.1 或 37.3.0.1,或发行版的修复包,然后重启 nginx,因为重载配置不会替换运行中的二进制文件。如果暂时无法打补丁,应禁用 HTTP/2、QUIC,并将 proxy_pass 指向固定的 upstream 组。截至 11 月 19 日,这些 CVE 均未被列入 CISA KEV 目录,也未发现在野利用,但 Rapid7 已发布概念验证,GitHub 上流传着虚假的“漏洞利用”。
nginx2root: Five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them
On November 18, 2026, F5 and nginx.org disclosed ten vulnerabilities in nginx. Five of them, published by the Xint research team as nginx2root, are memory corruption flaws rated High (CVSS 3.1: 8.1) and Critical (CVSS 4.0: 9.2) that an unauthenticated attacker can use to crash a worker or, per Xint's research, run commands on the server. A related Linux kernel SCTP use-after-free can turn that foothold into root on the host, including from inside a Docker container; no kernel fix was available as of November 18.
The most serious bug, CVE-2026-123007, is an integer overflow in HTTP/2 present since nginx 1.9.5 (2015), and it only requires HTTP/2 to be enabled. The others are use-after-free bugs affecting HTTP/2 with proxy_pass (CVE-2026-123633), HTTP/3/QUIC (CVE-2026-121810), the resolver with variable proxy_pass plus a subrequest (CVE-2026-123634), and the mail proxy with auth_http (CVE-2026-113425). The same releases fix CVE-2026-118899, an infinite loop when reading a request body over TLS 1.3. Censys counted about 8.8 million services running a potentially affected version with HTTP/2 enabled.
Cloudflare's edge is not affected, and for proxied hostnames the HTTP/2 and HTTP/3 attacks are blocked because client connections terminate at the edge and attacker-controlled frames never reach the origin. The mail proxy bug is not protected, and the resolver bug is only partially mitigated. This protection only holds if the origin is unreachable directly, for example via Cloudflare Tunnel, IP allowlisting, or Authenticated Origin Pulls.
Admins should update to nginx 1.30.7 or 1.31.9, nginx Plus 37.0.8.1 or 37.3.0.1, or their distribution's fixed package, then restart nginx, since a config reload does not replace the binary. If patching is not yet possible, disable HTTP/2, QUIC, and point proxy_pass at fixed upstream groups. As of November 19, none of the CVEs was in CISA's KEV catalog and no exploitation in the wild had been reported, though Rapid7 published a proof of concept and fake exploits are circulating on GitHub.
猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。