CVE-2002-1377 Code injection in n/a
Attackers can execute arbitrary commands via malicious modelines in files opened by Vim, requiring user interaction to open the file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2002-1377?
CVE-2002-1377 is a medium-severity code injection vulnerability in n/a, published on 1 Sep 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2002-1377?
It affects 1 product.
Products include Vim Development Group Vim.
How do I fix CVE-2002-1377?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2002-1377 being exploited?
There is no known exploitation of CVE-2002-1377 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2002-1377, GHSA-3g8f-84mq-ghvw.