summaryrefslogtreecommitdiff
blob: a1658091455b17799ca19a37da0b522dc3f776a9 (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="201612-14">
  <title>util-linux: Arbitrary code execution</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>2016-12-06</announced>
  <revised>2016-12-06: 1</revised>
  <bug>530844</bug>
  <access>local</access>
  <affected>
    <package name="sys-apps/util-linux" auto="yes" arch="*">
      <unaffected range="ge">2.26</unaffected>
      <vulnerable range="lt">2.26</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>A command injection flaw was discovered in util-linux’s “blkid”
      utility. It uses caching files (/dev/.blkid.tab or /run/blkid/blkid.tab)
      to store info about the UUID, LABEL etc. it finds on certain devices.
      However, it does not strip ‘”’ character, so it can be confused to
      build variable names containing shell metacharacters, which it would
      usually encode inside the value.
    </p>
  </description>
  <impact type="normal">
    <p>A local attacker could create a specially crafted partition label
      containing arbitrary code which would get executed when the “blkid”
      utility processes that value.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</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.26"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-9114">CVE-2014-9114</uri>
  </references>
  <metadata tag="requester" timestamp="2016-11-22T22:56:21Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2016-12-06T03:44:24Z">whissi</metadata>
</glsa>