Vulnerability in Vim
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 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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.9 (Medium). Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.027, 86.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim — versions 1.0, 1.22, 3.0
References
- bugs.debian.org/cgi-bin/bugreport.cgi
- bugs.debian.org/cgi-bin/bugreport.cgi
- www.securityfocus.com/bid/33447 (vdb-entry)
- [oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric) (mailing-list)
- APPLE-SA-2010-03-29-1 (vendor-advisory)
- [debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd (mailing-list)
- svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045
- support.apple.com/kb/HT4077
- MDVSA-2009:047 (vendor-advisory)
- vim-pysyssetargv-privilege-escalation(48275) (vdb-entry)