Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202105-38 ] nginx: Remote code execution
Date: Wed, 26 May 2021 17:46:18
Message-Id: 7db3df74-8d18-5925-d42f-8c285f2c3df0@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202105-38
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: nginx: Remote code execution
9 Date: May 26, 2021
10 Bugs: #792087
11 ID: 202105-38
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability in nginx could lead to remote code execution.
19
20 Background
21 ==========
22
23 nginx is a robust, small, and high performance HTTP and reverse proxy
24 server.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 www-servers/nginx < 1.21.0 >= 1.20.1:0
33 >= 1.21.0:mainline
34
35 Description
36 ===========
37
38 It was discovered that nginx did not properly handle DNS responses when
39 "resolver" directive is used.
40
41 Impact
42 ======
43
44 A remote attacker, able to provide DNS responses to a nginx instance,
45 could cause the execution of arbitrary code with the privileges of the
46 process or a Denial of Service condition.
47
48 Workaround
49 ==========
50
51 There is no known workaround at this time.
52
53 Resolution
54 ==========
55
56 All nginx users should upgrade to the latest version:
57
58 # emerge --sync
59 # emerge --ask --oneshot --verbose ">=www-servers/nginx-1.20.1"
60
61 All nginx mainline users should upgrade to the latest version:
62
63 # emerge --sync
64 # emerge --ask --oneshot -v ">=www-servers/nginx-1.21.0:mainline"
65
66 References
67 ==========
68
69 [ 1 ] CVE-2021-23017
70 https://nvd.nist.gov/vuln/detail/CVE-2021-23017
71
72 Availability
73 ============
74
75 This GLSA and any updates to it are available for viewing at
76 the Gentoo Security Website:
77
78 https://security.gentoo.org/glsa/202105-38
79
80 Concerns?
81 =========
82
83 Security is a primary focus of Gentoo Linux and ensuring the
84 confidentiality and security of our users' machines is of utmost
85 importance to us. Any security concerns should be addressed to
86 security@g.o or alternatively, you may file a bug at
87 https://bugs.gentoo.org.
88
89 License
90 =======
91
92 Copyright 2021 Gentoo Foundation, Inc; referenced text
93 belongs to its owner(s).
94
95 The contents of this document are licensed under the
96 Creative Commons - Attribution / Share Alike license.
97
98 https://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature