Rapid7 Vulnerability & Exploit Database

RHSA-2002:297: Updated vim packages fix modeline vulnerability

Back to Search

RHSA-2002:297: Updated vim packages fix modeline vulnerability

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:P/I:P/A:P)
Published
12/23/2002
Created
07/25/2018
Added
10/28/2005
Modified
07/04/2017

Description

Updated vim packages are now available for Red Hat Linux. These updates resolve a security issue when opening a specially crafted text file. [Updated 16 April 2003] Added packages for Red Hat Linux on IBM iSeries and pSeries systems.

VIM (Vi IMproved) is a version of the vi editor. VIM allows a user to set the modeline differently for each edited text file by placing special comments in the files. Georgi Guninski found that these comments can be carefully crafted in order to call external programs. This could allow an attacker to create a text file such that when it is opened arbitrary commands are executed. Users of VIM are advised to upgrade to these errata packages which have been patched to disable the usage of dangerous functions in modelines.

Solution(s)

  • redhat-upgrade-vim-common
  • redhat-upgrade-vim-enhanced
  • redhat-upgrade-vim-minimal
  • redhat-upgrade-vim-x11

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;