Executive Summary

Summary
Title virtualenv: Insecure temporary file usage
Informations
Name GLSA-201206-17 First vendor Publication 2012-06-22
Vendor Gentoo Last vendor Modification 2012-06-22
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:L/AC:H/Au:N/C:N/I:P/A:N)
Cvss Base Score 1.2 Attack Range Local
Cvss Impact Score 2.9 Attack Complexity High
Cvss Expoit Score 1.9 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

An insecure temporary file usage has been reported in virtualenv, possibly allowing symlink attacks.

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"

References

[ 1 ] CVE-2011-4617 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-4617

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-201206-17.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-201206-17.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-59 Improper Link Resolution Before File Access ('Link Following')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 26

OpenVAS Exploits

Date Description
2012-08-10 Name : Gentoo Security Advisory GLSA 201206-17 (virtualenv)
File : nvt/glsa_201206_17.nasl
2012-04-02 Name : Fedora Update for python-virtualenv FEDORA-2011-17289
File : nvt/gb_fedora_2011_17289_python-virtualenv_fc16.nasl
2012-01-09 Name : Fedora Update for python-virtualenv FEDORA-2011-17341
File : nvt/gb_fedora_2011_17341_python-virtualenv_fc15.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
77972 virtualenv virtualenv.py Temporary Files Symlink Arbitrary File Overwrite

virtualenv contains a flaw that may allow a malicious local user to overwrite arbitrary files on the system. The issue is due to the virtualenv.py script creating temporary files insecurely. It is possible for a local attacker to use a symlink attack to cause the program to unexpectedly write to, or overwrite an attacker specified file.

Nessus® Vulnerability Scanner

Date Description
2012-06-25 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201206-17.nasl - Type : ACT_GATHER_INFO
2012-01-06 Name : The remote Fedora host is missing a security update.
File : fedora_2011-17289.nasl - Type : ACT_GATHER_INFO
2012-01-06 Name : The remote Fedora host is missing a security update.
File : fedora_2011-17341.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:37:24
  • Multiple Updates