CVE-2009-0316 Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrary code via a Trojan horse Python file in the current working....
MediumCVSS 6.9
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
Untrusted search path vulnerability in src/if_python.c in the Python interface in Vim before 7.2.045 allows local users to execute arbitrary code via a Trojan horse Python file in the current working directory, related to a vulnerability in the PySys_SetArgv function (CVE-2008-5983), as demonstrated by an erroneous search path for plugin/bike.vim in bicyclerepair.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/vim(Debian 12) | < 2:7.2.025-2 | 2:7.2.025-2 | Fixed |
| debian/vim(Debian 13) | < 2:7.2.025-2 | 2:7.2.025-2 | Fixed |
| debian/vim(Debian 14) | < 2:7.2.025-2 | 2:7.2.025-2 | Fixed |
| vim | <= 7.2; = 1.0; = 1.22; = 3.0 +17 more | after 7.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim | <= 7.2 | No fix listed |
| vim | = 1.0 | No fix listed |
| vim | = 1.22 | No fix listed |
| vim | = 3.0 | No fix listed |
| vim | = 4.0 | No fix listed |
| vim | = 5.0 | No fix listed |
| vim | = 5.1 | No fix listed |
| vim | = 5.2 | No fix listed |
| vim | = 5.3 | No fix listed |
| vim | = 5.4 | No fix listed |
| vim | = 5.5 | No fix listed |
| vim | = 5.6 | No fix listed |
| vim | = 5.7 | No fix listed |
| vim | = 5.8 | No fix listed |
| vim | = 6.0 | No fix listed |
| vim | = 6.1 | No fix listed |
| vim | = 6.2 | No fix listed |
| vim | = 6.3 | No fix listed |
| vim | = 6.4 | No fix listed |
| vim | = 7.0 | No fix listed |
| vim | = 7.1 | No fix listed |
| debian/vim(Debian:12) | < 2:7.2.025-2 | 2:7.2.025-2 |
| debian/vim(Debian:13) | < 2:7.2.025-2 | 2:7.2.025-2 |
| debian/vim(Debian:14) | < 2:7.2.025-2 | 2:7.2.025-2 |
References
- bugs.debian.org
- bugs.debian.org
- APPLE-SA-2010-03-29-1 vendor-advisory
- support.apple.com
- MDVSA-2009:047 vendor-advisory
- [debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd mailing-list
- [oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric) mailing-list
- 33447 vdb-entry
- bugzilla.redhat.com
- vim-pysyssetargv-privilege-escalation(48275) vdb-entry
- svn.pardus.org.tr
- Debian Security Tracker CVE-2009-0316 vendor-advisory
- bugs.debian.org issue-tracking