nginx-core is vulnerable to Remote Code Execution
100
CVE Score
Critical
Remote Code Execution
When the resolver is used and the same name is resolved at the same time from a request and a subrequest, such as a mirror with mirror_request_body off, one context can free resolver memory that the waiting-list loop still uses. An attacker who can trigger that name resolution can cause a use-after-free in the worker. Researchers have demonstrated remote code execution for this path. Disabling HTTP/2 does not block it.
Upgrade nginx-core to a listed patch version and reload or restart the service. If you cannot upgrade immediately, point proxy_pass at a fixed upstream group so the request no longer performs DNS at request time. Ubuntu, Debian, and Alpine published backports of this fix. Those package versions are listed as non-vulnerable, including Ubuntu 24.04 1.24.0-2ubuntu7.20 and 1.24.0-2ubuntu7.21 where that release is affected. AlmaLinux backports are listed as non-vulnerable as well.
You are affected if you run nginx in a listed vulnerable range with the resolver directive, a request-derived proxy_pass destination, and a feature that creates subrequests such as mirror, and externally influenced input can trigger that DNS lookup. No authentication is required.
0.6.18~ - 1.30.6+z~
Fixed in 1.30.71.31.0~ - 1.31.8+z~
Fixed in 1.31.9nginx-core is vulnerable to Remote Code Execution in versions 0.6.18~ - 1.30.6+z~ and 1.31.0~ - 1.31.8+z~.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.