virtualenv: Insecure temporary file usage

2012-06-22T00:00:00
ID GLSA-201206-17
Type gentoo
Reporter Gentoo Foundation
Modified 2012-06-22T00:00:00

Description

Background

virtualenv is a virtual Python environment builder.

Description

The virtualenv.py script in virtualenv does not handle temporary files securely.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

Workaround

There is no known workaround at this time.

Resolution

All virtualenv users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/virtualenv-1.5.1"