Gentoo Archives: gentoo-announce

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 201603-04 ] FUSE: incorrect filtering of environment variables leading to privilege escalation
Date: Wed, 09 Mar 2016 18:06:38
Message-Id: 56E066B3.6050504@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201603-04
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: FUSE: incorrect filtering of environment variables leading to
9 privilege escalation
10 Date: March 09, 2016
11 Bugs: #550152
12 ID: 201603-04
13
14 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
15
16 Synopsis
17 ========
18
19 The fusermount binary in FUSE does not properly clear the environment
20 before invoking mount or umount as root that allows a local user to
21 overwrite arbitrary files.
22
23 Background
24 ==========
25
26 FUSE provides an interface for filesystems implemented in userspace.
27
28 Affected packages
29 =================
30
31 -------------------------------------------------------------------
32 Package / Vulnerable / Unaffected
33 -------------------------------------------------------------------
34 1 sys-fs/fuse < 2.9.4 >= 2.9.4
35
36 Description
37 ===========
38
39 The fusermount binary calls setuid(geteuid()) to reset the RUID when it
40 invokes /bin/mount so that it can use privileged mount options that are
41 normally restricted if RUID != EUID. FUSE does not properly clear
42 environment variables before invoking mount or umount as root allowing
43 this to be passed to operations using elevated privileges such as
44 LIBMOUNT_MTAB that is used by the mount commands debugging feature.
45
46 Impact
47 ======
48
49 The FUSE vulnerability allows a local, unprivileged user to overwrite
50 arbitrary files on the system.
51
52 Workaround
53 ==========
54
55 There is no known work around at this time.
56
57 Resolution
58 ==========
59
60 All FUSE users should upgrade to the latest version:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose ">=sys-fs/fuse-2.9.4"
64
65 References
66 ==========
67
68 [ 1 ] CVE-2015-3202
69 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3202
70
71 Availability
72 ============
73
74 This GLSA and any updates to it are available for viewing at
75 the Gentoo Security Website:
76
77 https://security.gentoo.org/glsa/201603-04
78
79 Concerns?
80 =========
81
82 Security is a primary focus of Gentoo Linux and ensuring the
83 confidentiality and security of our users' machines is of utmost
84 importance to us. Any security concerns should be addressed to
85 security@g.o or alternatively, you may file a bug at
86 https://bugs.gentoo.org.
87
88 License
89 =======
90
91 Copyright 2016 Gentoo Foundation, Inc; referenced text
92 belongs to its owner(s).
93
94 The contents of this document are licensed under the
95 Creative Commons - Attribution / Share Alike license.
96
97 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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