summaryrefslogtreecommitdiff
blob: 649c43a6f580fcd0f754395a0883750f700597df (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201206-17">
  <title>virtualenv: Insecure temporary file usage</title>
  <synopsis>An insecure temporary file usage has been reported in virtualenv,
    possibly allowing symlink attacks.
  </synopsis>
  <product type="ebuild">virtualenv</product>
  <announced>2012-06-22</announced>
  <revised count="1">2012-06-22</revised>
  <bug>395285</bug>
  <access>local</access>
  <affected>
    <package name="dev-python/virtualenv" auto="yes" arch="*">
      <unaffected range="ge">1.5.1</unaffected>
      <vulnerable range="lt">1.5.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>virtualenv is a virtual Python environment builder.</p>
  </background>
  <description>
    <p>The virtualenv.py script in virtualenv does not handle temporary files
      securely.
    </p>
  </description>
  <impact type="normal">
    <p>A local attacker could perform symlink attacks to overwrite arbitrary
      files with the privileges of the user running the application.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All virtualenv users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-python/virtualenv-1.5.1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4617">CVE-2011-4617</uri>
  </references>
  <metadata timestamp="2012-03-06T21:31:00Z" tag="requester">ackle</metadata>
  <metadata timestamp="2012-06-22T16:31:54Z" tag="submitter">ackle</metadata>
</glsa>