Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201803-02 ] util-linux: User-assisted execution of arbitrary code
Date: Wed, 07 Mar 2018 19:09:38
Message-Id: ac8bf81e-1635-a0d9-1a94-52dec4d0bdb5@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201803-02
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: util-linux: User-assisted execution of arbitrary code
9 Date: March 07, 2018
10 Bugs: #649812
11 ID: 201803-02
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability was discovered in util-linux, which could potentially
19 lead to the execution of arbitrary code.
20
21 Background
22 ==========
23
24 util-linux is a suite of Linux programs including mount and umount,
25 programs used to mount and unmount filesystems.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 sys-apps/util-linux < 2.30.2-r1 >= 2.30.2-r1
34
35 Description
36 ===========
37
38 It was discovered that the umount bash-completion as provided by
39 util-linux does not escap mount point paths.
40
41 Impact
42 ======
43
44 An attacker controlling a volume label could entice a user with
45 privileges to mount/umount filesystems to use umount command with auto
46 completion, possibly resulting in execution of arbitrary code with root
47 privileges.
48
49 Workaround
50 ==========
51
52 Disable Bash-completion or remove
53 "/usr/share/bash-completion/completions/umount".
54
55 Resolution
56 ==========
57
58 All util-linux users should upgrade to the latest version:
59
60 # emerge --sync
61 # emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.30.2-r1"
62
63 References
64 ==========
65
66 [ 1 ] CVE-2018-7738
67 https://nvd.nist.gov/vuln/detail/CVE-2018-7738
68
69 Availability
70 ============
71
72 This GLSA and any updates to it are available for viewing at
73 the Gentoo Security Website:
74
75 https://security.gentoo.org/glsa/201803-02
76
77 Concerns?
78 =========
79
80 Security is a primary focus of Gentoo Linux and ensuring the
81 confidentiality and security of our users' machines is of utmost
82 importance to us. Any security concerns should be addressed to
83 security@g.o or alternatively, you may file a bug at
84 https://bugs.gentoo.org.
85
86 License
87 =======
88
89 Copyright 2018 Gentoo Foundation, Inc; referenced text
90 belongs to its owner(s).
91
92 The contents of this document are licensed under the
93 Creative Commons - Attribution / Share Alike license.
94
95 https://creativecommons.org/licenses/by-sa/2.5

Attachments

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