NGINX Had a Critical Bug for Over 10 Years #nginx #programming #linux
NGINX shipped two HTTP/2 memory-safety flaws rated 9.2 that let unauthenticated attackers reach remote code execution, and one of them sat undetected in the codebase since 2015. The interesting engineering angle is twofold: ASLR offers no real protection against these bug classes, and five separate teams surfaced the same issues within a single month, with AI-assisted analysis doing much of the heavy lifting. If you terminate HTTP/2 in NGINX, this is a patch-or-disable decision, not a backlog item.
- Both flaws are pre-auth and rated 9.2: a use-after-free and an integer underflow in the HTTP/2 request handling path, each leading to potential remote code execution.
- Ten-year dwell time on one bug shows that mature, heavily audited C code still hides memory-safety defects; version pinning without patch cadence is the real exposure.
- ASLR is not a mitigation here — the exploit primitives let an attacker leak or shape memory reliably enough to bypass address randomization.