<?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>
