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/.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | fabric | 1.1.2-1 | — |
| Debian 13 | fabric | 1.1.2-1 | — |
| Debian 12 | fabric | 1.1.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | fabric | < 1.1.0 | 1.1.0 | GHSA-xwg2-qc6c-7c3q |
References
- [oss-security] 20110606 Re: CVE Request -- fabric -- Use of insecure temporary file by uploading templates and projects to remote hosts mailing-list
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629003
- FEDORA-2011-8964 vendor-advisory
- [oss-security] 20110603 CVE Request -- fabric -- Use of insecure temporary file by uploading templates and projects to remote hosts mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=710462
- http://code.fabfile.org/projects/fabric/files/Fabric-1.1.0.tar.gz