Skip to navigation

Security Advisory Updated vim packages fix modeline vulnerability

Advisory: RHSA-2002:297-19
Type: Security Advisory
Severity: N/A
Issued on: 2003-02-07
Last updated on: 2003-06-30
Affected Products: Red Hat Linux 6.2
Red Hat Linux 7.0
Red Hat Linux 7.1
Red Hat Linux 7.1 for iSeries
Red Hat Linux 7.1 for pSeries
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0
CVEs (cve.mitre.org): CVE-2002-1377

Details

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

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that
you can also use wildcards (*.rpm) if your current directory *only*
contains the desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the
appropriate RPMs being upgraded on your system.

Updated packages

Red Hat Linux 6.2

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.6x.3/SRPMS/vim-6.1-18.6x.3.src.rpm
Missing file
    MD5: e9f881277e228d8fa236a62a4708c4cc
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.6x.3/i386/vim-X11-6.1-18.6x.3.i386.rpm
Missing file
    MD5: 0e1ab8d86a448125d0d7ca46d4d03ce9
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.6x.3/i386/vim-common-6.1-18.6x.3.i386.rpm
Missing file
    MD5: f591194bc8b067e9b17c128f41438c9c
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.6x.3/i386/vim-enhanced-6.1-18.6x.3.i386.rpm
Missing file
    MD5: 2ffa90ad19b84cea780fbf97ba7f041e
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.6x.3/i386/vim-minimal-6.1-18.6x.3.i386.rpm
Missing file
    MD5: cb3efa24eb8918f84d01102389e46c75
 
Red Hat Linux 7.0

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.7x.2/SRPMS/vim-6.1-18.7x.2.src.rpm
Missing file
    MD5: 4577eb89b6c01717928cbbba1e8e8d1f
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/i386/vim-X11-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 1ec98d3dae05d1b054130e39763ea992
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/i386/vim-common-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 90ec6d2b9129dfce14b7cec28b01a155
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/i386/vim-enhanced-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 732a4a8c7e45a24dab4713582ecdd197
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/i386/vim-minimal-6.1-18.7x.2.i386.rpm
Missing file
    MD5: e310b4b5a4fc1fc17d6e7389b0093c44
 
Red Hat Linux 7.1

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.7x.2/SRPMS/vim-6.1-18.7x.2.src.rpm
Missing file
    MD5: 4577eb89b6c01717928cbbba1e8e8d1f
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/i386/vim-X11-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 1ec98d3dae05d1b054130e39763ea992
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/i386/vim-common-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 90ec6d2b9129dfce14b7cec28b01a155
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/i386/vim-enhanced-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 732a4a8c7e45a24dab4713582ecdd197
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/i386/vim-minimal-6.1-18.7x.2.i386.rpm
Missing file
    MD5: e310b4b5a4fc1fc17d6e7389b0093c44
 
Red Hat Linux 7.1 for iSeries

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.7x.2/SRPMS/vim-6.1-18.7x.2.src.rpm
Missing file
    MD5: 4577eb89b6c01717928cbbba1e8e8d1f
 
iSeries:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/ppc/vim-X11-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: 5c02280ce2c906f7b18504bf0427e2bf
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/ppc/vim-common-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: fe647ba1b9379448233b3f19ca2aaa96
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/ppc/vim-enhanced-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: 54b89600f88e11ec2af6d6ad3ea369b9
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/ppc/vim-minimal-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: 350f4de21501ec5f4ad71ea4dfcaa27e
 
Red Hat Linux 7.1 for pSeries

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.7x.2/SRPMS/vim-6.1-18.7x.2.src.rpm
Missing file
    MD5: 4577eb89b6c01717928cbbba1e8e8d1f
 
pSeries:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/ppc/vim-X11-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: 5c02280ce2c906f7b18504bf0427e2bf
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/ppc/vim-common-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: fe647ba1b9379448233b3f19ca2aaa96
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/ppc/vim-enhanced-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: 54b89600f88e11ec2af6d6ad3ea369b9
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/ppc/vim-minimal-6.1-18.7x.2.ppc.rpm
Missing file
    MD5: 350f4de21501ec5f4ad71ea4dfcaa27e
 
Red Hat Linux 7.2

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.7x.2/SRPMS/vim-6.1-18.7x.2.src.rpm
Missing file
    MD5: 4577eb89b6c01717928cbbba1e8e8d1f
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/i386/vim-X11-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 1ec98d3dae05d1b054130e39763ea992
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/i386/vim-common-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 90ec6d2b9129dfce14b7cec28b01a155
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/i386/vim-enhanced-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 732a4a8c7e45a24dab4713582ecdd197
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/i386/vim-minimal-6.1-18.7x.2.i386.rpm
Missing file
    MD5: e310b4b5a4fc1fc17d6e7389b0093c44
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/ia64/vim-X11-6.1-18.7x.2.ia64.rpm
Missing file
    MD5: b0f8f9b715b76081f9eb6cfa8be4d66b
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/ia64/vim-common-6.1-18.7x.2.ia64.rpm
Missing file
    MD5: dde9fb8c41834ed2851e625baf8021fe
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/ia64/vim-enhanced-6.1-18.7x.2.ia64.rpm
Missing file
    MD5: 7d99e5d8c7acbee0e76c46d094a7c8a7
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/ia64/vim-minimal-6.1-18.7x.2.ia64.rpm
Missing file
    MD5: 2fe4f373692275e58f692c89f04bacaa
 
Red Hat Linux 7.3

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.7x.2/SRPMS/vim-6.1-18.7x.2.src.rpm
Missing file
    MD5: 4577eb89b6c01717928cbbba1e8e8d1f
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.7x.2/i386/vim-X11-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 1ec98d3dae05d1b054130e39763ea992
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.7x.2/i386/vim-common-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 90ec6d2b9129dfce14b7cec28b01a155
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.7x.2/i386/vim-enhanced-6.1-18.7x.2.i386.rpm
Missing file
    MD5: 732a4a8c7e45a24dab4713582ecdd197
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.7x.2/i386/vim-minimal-6.1-18.7x.2.i386.rpm
Missing file
    MD5: e310b4b5a4fc1fc17d6e7389b0093c44
 
Red Hat Linux 8.0

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/vim/6.1-18.8x.1/SRPMS/vim-6.1-18.8x.1.src.rpm
Missing file
    MD5: 7662f8b82c03dc12af971abc7eec166c
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/vim-X11/6.1-18.8x.1/i386/vim-X11-6.1-18.8x.1.i386.rpm
Missing file
    MD5: 0b19e93621c1a3bc34d8cbff32409c5b
ftp://updates.redhat.com/rhn/repository/NULL/vim-common/6.1-18.8x.1/i386/vim-common-6.1-18.8x.1.i386.rpm
Missing file
    MD5: 290188637a0f61a80e39954c9e8f3850
ftp://updates.redhat.com/rhn/repository/NULL/vim-enhanced/6.1-18.8x.1/i386/vim-enhanced-6.1-18.8x.1.i386.rpm
Missing file
    MD5: 48a8bdfe8a6460c2f0498275f813dc97
ftp://updates.redhat.com/rhn/repository/NULL/vim-minimal/6.1-18.8x.1/i386/vim-minimal-6.1-18.8x.1.i386.rpm
Missing file
    MD5: da89d37820bc1441f51310ca93edf62a
 

References


Keywords

modeline, security, vim


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/