summaryrefslogtreecommitdiff
blob: b01d644d70405ede3a5e1afe6b935dc400486434 (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
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200710-18">
  <title>util-linux: Local privilege escalation</title>
  <synopsis>
    The mount and umount programs might allow local attackers to gain root
    privileges.
  </synopsis>
  <product type="ebuild">util-linux</product>
  <announced>2007-10-18</announced>
  <revised count="01">2007-10-18</revised>
  <bug>195390</bug>
  <access>local</access>
  <affected>
    <package name="sys-apps/util-linux" auto="yes" arch="*">
      <unaffected range="ge">2.12r-r8</unaffected>
      <vulnerable range="lt">2.12r-r8</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>
    Ludwig Nussel discovered that the check_special_mountprog() and
    check_special_umountprog() functions call setuid() and setgid() in the
    wrong order and do not check the return values, which can lead to
    privileges being dropped improperly.
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker may be able to exploit this vulnerability by using
    mount helpers such as the mount.nfs program to gain root privileges and
    run arbitrary commands.
    </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.12r-r8"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5191">CVE-2007-5191</uri>
  </references>
  <metadata tag="requester" timestamp="2007-10-12T17:17:12Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2007-10-12T17:18:23Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2007-10-15T00:47:53Z">
    rbu
  </metadata>
</glsa>