GLSA 202105-38: nginx: Remote code execution
Severity: | high |
Title: | nginx: Remote code execution |
Date: | 05/26/2021 |
Bugs: |
|
ID: | 202105-38 |
Synopsis
A vulnerability in nginx could lead to remote code execution.Background
nginx is a robust, small, and high performance HTTP and reverse proxy server.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
www-servers/nginx | < 1.21.0 | >= 1.20.1 | All supported architectures |
Description
It was discovered that nginx did not properly handle DNS responses when “resolver” directive is used.
Impact
A remote attacker, able to provide DNS responses to a nginx instance, could cause the execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround
There is no known workaround at this time.
Resolution
All nginx users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=www-servers/nginx-1.20.1"
All nginx mainline users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose
">=www-servers/nginx-1.21.0:mainline"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.