CVE-2011-4617 Virtualenv Allows Symlink Attack on /tmp/

Low 1.2 Published Updated

Local attackers can overwrite arbitrary files via symlink attacks in virtualenv, potentially compromising system integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2011-4617?

CVE-2011-4617 is a low-severity path traversal vulnerability in n/a, published on 31 Dec 2011. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

virtualenv.py in virtualenv before 1.5 allows local users to overwrite arbitrary files via a symlink attack on a certain file in /tmp/.

Weakness: CWE-59

Which versions are affected by CVE-2011-4617?

3 open source packages ship an affected version, including virtualenv. It affects 1 product.

PackageAffectedFixed in
virtualenv PyPIAll versions1.5
virtualenv PyPIAll versions1.5
virtualenv PyPIAll versions1.5

Products include Python Virtualenv.

How do I fix CVE-2011-4617?

Upgrade virtualenv to 1.5 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2011-4617 being exploited?

There is no known exploitation of CVE-2011-4617 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2011-4617, GHSA-3jhc-wjqf-5f2c, PYSEC-2011-23.

Is CVE-2011-4617 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free