| <?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>June 22, 2012</announced> |
| <revised>June 22, 2012: 1</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 ">=dev-python/virtualenv-1.5.1" |
| </code> |
| </resolution> |
| <references> |
| <uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4617">CVE-2011-4617</uri> |
| </references> |
| <metadata timestamp="Tue, 06 Mar 2012 21:31:00 +0000" tag="requester">ackle</metadata> |
| <metadata timestamp="Fri, 22 Jun 2012 16:31:54 +0000" tag="submitter">ackle</metadata> |
| </glsa> |