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 edi...
MediumCVSS 4.6
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/vim(Debian 12) | < 6.1.263-1 | 6.1.263-1 | Fixed |
| debian/vim(Debian 13) | < 6.1.263-1 | 6.1.263-1 | Fixed |
| debian/vim(Debian 14) | < 6.1.263-1 | 6.1.263-1 | Fixed |
| vim development group vim | = 5.0; = 5.1; = 5.2; = 5.3 +7 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vim development group vim | = 5.0 | No fix listed |
| vim development group vim | = 5.1 | No fix listed |
| vim development group vim | = 5.2 | No fix listed |
| vim development group vim | = 5.3 | No fix listed |
| vim development group vim | = 5.4 | No fix listed |
| vim development group vim | = 5.5 | No fix listed |
| vim development group vim | = 5.6 | No fix listed |
| vim development group vim | = 5.7 | No fix listed |
| vim development group vim | = 5.8 | No fix listed |
| vim development group vim | = 6.0 | No fix listed |
| vim development group vim | = 6.1 | No fix listed |
| debian/vim(Debian:12) | < 6.1.263-1 | 6.1.263-1 |
| debian/vim(Debian:13) | < 6.1.263-1 | 6.1.263-1 |
| debian/vim(Debian:14) | < 6.1.263-1 | 6.1.263-1 |
References
- CLA-2004:812 vendor-advisory
- 20021213 Some vim problems, yet still vim much better than windows mailing-list
- 20040331 OpenLinux: vim arbitrary commands execution through modelines mailing-list
- 55700 vendor-advisory
- www.guninski.com patch vendor-advisory
- MDKSA-2003:012 vendor-advisory
- RHSA-2002:297 patch vendor-advisory
- RHSA-2002:302 vendor-advisory
- 6384 vdb-entry
- vim-modeline-command-execution(10835) vdb-entry
- Debian Security Tracker CVE-2002-1377 vendor-advisory