Vulnerability in Vim Development Group
CVE-2002-1377
vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.005, 41.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim Development Group — versions 5.0, 5.1, 5.2
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/6384 (vdb-entry)
- RHSA-2002:302 (vendor-advisory)
- www.guninski.com/vim1.html (Patch, Vendor Advisory)
- 20021213 Some vim problems, yet still vim much better than windows (mailing-list)
- RHSA-2002:297 (vendor-advisory, Patch, Vendor Advisory)
- sunsolve.sun.com/pub-cgi/retrieve.pl (vendor-advisory)
- CLA-2004:812 (vendor-advisory)
- MDKSA-2003:012 (vendor-advisory)
- 20040331 OpenLinux: vim arbitrary commands execution through modelines (mailing-list)
- vim-modeline-command-execution(10835) (vdb-entry)