Five nginx Vulnerabilities Disclosed; Patch to 1.30.7 or 1.31.9
Brief
The nginx2root disclosure covers five nginx flaws and a Linux kernel bug. Cloudflare says its proxy blocks the relevant HTTP/2 and HTTP/3 attack traffic from reaching shielded origins, but patching is still necessary.
What to fix
- Update nginx Open Source to 1.30.7 or 1.31.9, or install a fixed vendor build, then restart nginx; a config reload does not replace the running binary.
- The bugs affect different configurations, including HTTP/2, HTTP/3 with proxy_pass, resolver use with variable proxy_pass and subrequests, and the mail proxy with auth_http.
- The separate Linux kernel SCTP flaw can let an attacker who already runs code as the nginx worker gain root on the host. No kernel fix was available as of November 18.
What Cloudflare’s proxy covers
- For proxied hostnames, Cloudflare terminates client HTTP/2 and HTTP/3 connections at its edge and opens a separate connection to the origin, so the client’s protocol frames do not reach nginx.
- This protection requires that attackers cannot reach the origin directly. The resolver flaw is not fully covered; mail traffic, Spectrum TCP/UDP traffic, and DNS-only or otherwise unproxied nginx are not protected by the HTTP proxy.
Generated by AI from the original article. Check the source for full details.