Gentoo Archives: gentoo-announce

From: Sam James <sam@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202107-11 ] OpenDoas: Insufficient environment filtering
Date: Wed, 07 Jul 2021 08:05:09
Message-Id: 63747458-1D22-479F-9F4B-4800EC8FD0A2@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202107-11
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: OpenDoas: Insufficient environment filtering
9 Date: July 07, 2021
10 Bugs: #767781
11 ID: 202107-11
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability in OpenDoas could lead to privilege escalation.
19
20 Background
21 ==========
22
23 OpenDoas allows users to run commands as other users.
24
25 Affected packages
26 =================
27
28 -------------------------------------------------------------------
29 Package / Vulnerable / Unaffected
30 -------------------------------------------------------------------
31 1 app-admin/doas < 6.8.1 >= 6.8.1
32
33 Description
34 ===========
35
36 OpenDoas does not properly filter the PATH variable from the resulting
37 shell after escalating privileges.
38
39 Impact
40 ======
41
42 A local attacker with control of a user's PATH variable could escalate
43 privileges if that user uses OpenDoas with a poisoned PATH variable.
44
45 Workaround
46 ==========
47
48 There is no known workaround at this time.
49
50 Resolution
51 ==========
52
53 All OpenDoas users should upgrade to the latest version:
54
55 # emerge --sync
56 # emerge --ask --oneshot --verbose ">=app-admin/doas-6.8.1"
57
58 References
59 ==========
60
61 [ 1 ] CVE-2019-25016
62 https://nvd.nist.gov/vuln/detail/CVE-2019-25016
63
64 Availability
65 ============
66
67 This GLSA and any updates to it are available for viewing at
68 the Gentoo Security Website:
69
70 https://security.gentoo.org/glsa/202107-11
71
72 Concerns?
73 =========
74
75 Security is a primary focus of Gentoo Linux and ensuring the
76 confidentiality and security of our users' machines is of utmost
77 importance to us. Any security concerns should be addressed to
78 security@g.o or alternatively, you may file a bug at
79 https://bugs.gentoo.org.
80
81 License
82 =======
83
84 Copyright 2021 Gentoo Foundation, Inc; referenced text
85 belongs to its owner(s).
86
87 The contents of this document are licensed under the
88 Creative Commons - Attribution / Share Alike license.
89
90 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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