Gentoo Archives: gentoo-announce

From: glsamaker@g.o
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202210-26 ] Shadow: TOCTOU Race
Date: Mon, 31 Oct 2022 01:52:45
Message-Id: 166717933690.9.8955650146354813976@90bb6a0775af
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202210-26
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Shadow: TOCTOU Race
9 Date: October 31, 2022
10 Bugs: #830486
11 ID: 202210-26
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A TOCTOU race has been discovered in Shadow, which could result in the
19 unauthorized modification of files.
20
21 Background
22 ==========
23
24 Shadow contains utilities to deal with user accounts
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 sys-apps/shadow < 4.12.2 >= 4.12.2
33
34 Description
35 ===========
36
37 A TOCTOU race condition was discovered in shadow. A local attacker with
38 write privileges in a directory removed or copied by usermod/userdel
39 could potentially exploit this flaw when the administrator invokes
40 usermod/userdel.
41
42 Impact
43 ======
44
45 An unauthorized user could potentially modify files which they do not
46 have write permissions for.
47
48 Workaround
49 ==========
50
51 There is no known workaround at this time.
52
53 Resolution
54 ==========
55
56 All Shadow users should upgrade to the latest version:
57
58 # emerge --sync
59 # emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.12.2"
60
61 References
62 ==========
63
64 [ 1 ] CVE-2013-4235
65 https://nvd.nist.gov/vuln/detail/CVE-2013-4235
66
67 Availability
68 ============
69
70 This GLSA and any updates to it are available for viewing at
71 the Gentoo Security Website:
72
73 https://security.gentoo.org/glsa/202210-26
74
75 Concerns?
76 =========
77
78 Security is a primary focus of Gentoo Linux and ensuring the
79 confidentiality and security of our users' machines is of utmost
80 importance to us. Any security concerns should be addressed to
81 security@g.o or alternatively, you may file a bug at
82 https://bugs.gentoo.org.
83
84 License
85 =======
86
87 Copyright 2022 Gentoo Foundation, Inc; referenced text
88 belongs to its owner(s).
89
90 The contents of this document are licensed under the
91 Creative Commons - Attribution / Share Alike license.
92
93 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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