A vulnerability in nginx could lead to remote code execution.
|Package||www-servers/nginx on all architectures|
|Affected versions||< 1.21.0|
|Unaffected versions||>= 1.20.1
nginx is a robust, small, and high performance HTTP and reverse proxy server.
It was discovered that nginx did not properly handle DNS responses when “resolver” directive is used.
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.
There is no known workaround at this time.
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"
May 26, 2021
May 26, 2021: 1