CVE-2011-2185 Fabric vulnerable to symlink attack on tmp files
Local attackers can overwrite arbitrary files via symlink attacks on temporary files, potentially compromising system integrity.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2011-2185?
CVE-2011-2185 is a medium-severity path traversal vulnerability in n/a, published on 27 Jul 2011. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Fabric before 1.1.0 allows local users to overwrite arbitrary files via a symlink attack on (1) a /tmp/fab.*.tar file or (2) certain other files in the top level of /tmp/.
Weakness: CWE-59
Which versions are affected by CVE-2011-2185?
3 open source packages ship an affected version, including fabric. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
fabric PyPI | All versions | 1.1.0 |
fabric PyPI | All versions | 1.1.0 |
fabric PyPI | All versions | 1.1.0 |
Products include Fabfile Fabric.
How do I fix CVE-2011-2185?
Upgrade fabric to 1.1.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2011-2185 being exploited?
There is no known exploitation of CVE-2011-2185 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2011-2185, GHSA-xwg2-qc6c-7c3q, PYSEC-2026-808.