summaryrefslogtreecommitdiff
blob: 7251591aafb3b3fb223f5ecfafe78494f0665b5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201803-02">
  <title>util-linux: User-assisted execution of arbitrary code</title>
  <synopsis>A vulnerability was discovered in util-linux, which could
    potentially lead to the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">util-linux</product>
  <announced>2018-03-07</announced>
  <revised count="1">2018-03-07</revised>
  <bug>649812</bug>
  <access>local, remote</access>
  <affected>
    <package name="sys-apps/util-linux" auto="yes" arch="*">
      <unaffected range="ge">2.30.2-r1</unaffected>
      <vulnerable range="lt">2.30.2-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>util-linux is a suite of Linux programs including mount and umount,
      programs used to mount and unmount filesystems.
    </p>
  </background>
  <description>
    <p>It was discovered that the umount bash-completion as provided by
      util-linux does not escap mount point paths.
    </p>
  </description>
  <impact type="high">
    <p>An attacker controlling a volume label could entice a user with
      privileges to mount/umount filesystems to use umount command with auto
      completion, possibly resulting in execution of arbitrary code with root
      privileges.
    </p>
  </impact>
  <workaround>
    <p>Disable Bash-completion or remove
      “/usr/share/bash-completion/completions/umount”.
    </p>
  </workaround>
  <resolution>
    <p>All util-linux users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=sys-apps/util-linux-2.30.2-r1"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2018-7738">CVE-2018-7738</uri>
  </references>
  <metadata tag="requester" timestamp="2018-03-07T14:57:31Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2018-03-07T19:03:17Z">whissi</metadata>
</glsa>