summaryrefslogtreecommitdiff
blob: 77cde99ce2a67e942b795afbf91acafb4fd2e397 (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201009-08">
  <title>python-updater: Untrusted search path</title>
  <synopsis>
    An untrusted search path vulnerability in python-updater might result in
    the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">python-updater</product>
  <announced>2010-09-21</announced>
  <revised count="01">2010-09-21</revised>
  <bug>288361</bug>
  <access>local</access>
  <affected>
    <package name="app-admin/python-updater" auto="yes" arch="*">
      <unaffected range="ge">0.7-r1</unaffected>
      <vulnerable range="lt">0.7-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    python-updater is a script used to remerge python packages when
    changing Python version.
    </p>
  </background>
  <description>
    <p>
    Robert Buchholz of the Gentoo Security Team reported that
    python-updater includes the current working directory and
    subdirectories in the Python module search path (sys.path) before
    calling "import".
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker could entice the root user to run "python-updater"
    from a directory containing a specially crafted Python module,
    resulting in the execution of arbitrary code with root privileges.
    </p>
  </impact>
  <workaround>
    <p>
    Do not run "python-updater" from untrusted working directories.
    </p>
  </workaround>
  <resolution>
    <p>
    All python-updater users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-admin/python-updater-0.7-r1"</code>
  </resolution>
  <references/>
  <metadata tag="requester" timestamp="2010-03-18T00:20:22Z">
    craig
  </metadata>
  <metadata tag="submitter" timestamp="2010-04-09T16:48:48Z">
    craig
  </metadata>
  <metadata tag="bugReady" timestamp="2010-09-03T20:36:47Z">
    craig
  </metadata>
</glsa>