I've seen an urgent warning about remote code execution in nginx's default configuration, but the technical details seem limited. Does it require HTTP/2, and what should administrators do?
Does the reported nginx vulnerability affect default installs?
Answers
The default configuration claim needs some scrutiny. The discussion says HTTP/2 is required for at least some of the reported issues, and HTTP/2 is not enabled by default. That doesn't mean a deployed server is unaffected, since its actual configuration may enable it.
Check the configuration in use and compare your nginx version and build against the relevant advisory. There are multiple reported vulnerabilities, so don't assume every condition applies to all of them.
Reply to this answer
Check for vendor updates and patch as soon as a fix is available for your installation. The discussion is unclear about patch availability, so I wouldn't assume a package update has already landed everywhere.
If HTTP/2 is enabled, disabling it is a possible temporary mitigation. Confirm the requirements for the specific issues first, and don't treat a workaround as a substitute for the fixes.
Reply to this answer
Another temporary option is to terminate HTTP/2 at a proxy or load balancer and use HTTP/1.1 to the nginx instances. Make sure clients can't bypass that layer and reach the instances directly, otherwise the proxy doesn't remove that exposure.
Reply to this answer
There were also claims that exploitation needs AVX-512 and a sustained connection above 300 Mbit/s, but those conditions were disputed. I wouldn't use them as a reason to dismiss the warning. They may describe a particular exploit path rather than every reported issue.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions