summaryrefslogtreecommitdiff
blob: c7ae6740d0541418e7c9fcae9e26bc50b7233779 (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
67
68
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200701-17">
  <title>libgtop: Privilege escalation</title>
  <synopsis>
    libgtop improperly handles filenames, possibly allowing for the execution
    of arbitrary code.
  </synopsis>
  <product type="ebuild">libgtop</product>
  <announced>2007-01-23</announced>
  <revised>2007-01-23: 01</revised>
  <bug>162169</bug>
  <access>local</access>
  <affected>
    <package name="gnome-base/libgtop" auto="yes" arch="*">
      <unaffected range="ge">2.14.6</unaffected>
      <vulnerable range="lt">2.14.6</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    libgtop facilitates the libgtop_daemon, which is used by GNOME to
    obtain information about remote systems.
    </p>
  </background>
  <description>
    <p>
    Liu Qishuai discovered that glibtop_get_proc_map_s() in
    sysdeps/linux/procmap.c does not properly allocate memory for storing a
    filename, allowing certain filenames to cause the buffer to overflow on
    the stack.
    </p>
  </description>
  <impact type="normal">
    <p>
    By tricking a victim into executing an application that uses the
    libgtop library (e.g. libgtop_daemon or gnome-system-monitor), a local
    attacker could specify a specially crafted filename to be used by
    libgtop causing a buffer overflow and possibly execute arbitrary code
    with the rights of the user running the application.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All libgtop users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=gnome-base/libgtop-2.14.6"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0235">CVE-2007-0235</uri>
  </references>
  <metadata tag="requester" timestamp="2007-01-17T22:40:30Z">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="2007-01-18T17:24:28Z">
    shellsage
  </metadata>
  <metadata tag="bugReady" timestamp="2007-01-22T12:14:40Z">
    falco
  </metadata>
</glsa>