Skip to navigation

Security Advisory Moderate: vim security update

Advisory: RHSA-2008:0580-18
Type: Security Advisory
Severity: Moderate
Issued on: 2008-11-25
Last updated on: 2008-11-25
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
Red Hat Enterprise Linux EUS (v. 5.2.z server)
CVEs (cve.mitre.org): CVE-2007-2953
CVE-2008-2712
CVE-2008-3074
CVE-2008-3075
CVE-2008-4101
CVE-2008-6235

Details

Updated vim packages that fix security issues are now available for Red Hat
Enterprise Linux 5.

This update has been rated as having moderate security impact by the Red Hat
Security Response Team.

Vim (Visual editor IMproved) is an updated and improved version of the vi
editor.

Several input sanitization flaws were found in Vim's keyword and tag
handling. If Vim looked up a document's maliciously crafted tag or keyword,
it was possible to execute arbitrary code as the user running Vim.
(CVE-2008-4101)

Multiple security flaws were found in netrw.vim, the Vim plug-in providing
file reading and writing over the network. If a user opened a specially
crafted file or directory with the netrw plug-in, it could result in
arbitrary code execution as the user running Vim. (CVE-2008-3076)

A security flaw was found in zip.vim, the Vim plug-in that handles ZIP
archive browsing. If a user opened a ZIP archive using the zip.vim plug-in,
it could result in arbitrary code execution as the user running Vim.
(CVE-2008-3075)

A security flaw was found in tar.vim, the Vim plug-in which handles TAR
archive browsing. If a user opened a TAR archive using the tar.vim plug-in,
it could result in arbitrary code execution as the user runnin Vim.
(CVE-2008-3074)

Several input sanitization flaws were found in various Vim system
functions. If a user opened a specially crafted file, it was possible to
execute arbitrary code as the user running Vim. (CVE-2008-2712)

Ulf Härnhammar, of Secunia Research, discovered a format string flaw in
Vim's help tag processor. If a user was tricked into executing the
"helptags" command on malicious data, arbitrary code could be executed with
the permissions of the user running Vim. (CVE-2007-2953)

All Vim users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues.


Solution

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

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
vim-7.0.109-4.el5_2.4z.src.rpm
File outdated by:  RHBA-2013:0066
    MD5: a1986c7e7d93f78d45041758598b39c1
 
IA-32:
vim-X11-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 256353649343a6fa02784604c094bdf6
vim-common-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 7b8a04d1b506bc97d83ecd404da31b0c
vim-enhanced-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 3876fe6d713fa3d00485dbdae9954dbb
vim-minimal-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 10ae06e7fd057ffb819fd1390e9b1ed6
 
IA-64:
vim-X11-7.0.109-4.el5_2.4z.ia64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 0a94d78004d72936c2c6e43b1fbc8e1d
vim-common-7.0.109-4.el5_2.4z.ia64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 718024a02830de94e4cfad895364c64b
vim-enhanced-7.0.109-4.el5_2.4z.ia64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 7264ad05fee7c343132197eb985b067b
vim-minimal-7.0.109-4.el5_2.4z.ia64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 96f3d11c5a0db3eeed153f66308db132
 
PPC:
vim-X11-7.0.109-4.el5_2.4z.ppc.rpm
File outdated by:  RHBA-2013:0066
    MD5: d19d071e8408a63deb01971c7608d276
vim-common-7.0.109-4.el5_2.4z.ppc.rpm
File outdated by:  RHBA-2013:0066
    MD5: deb7bafe35ae49457344436b76ff87c5
vim-enhanced-7.0.109-4.el5_2.4z.ppc.rpm
File outdated by:  RHBA-2013:0066
    MD5: fb7244cd9c8a80b091e7fc239d01032d
vim-minimal-7.0.109-4.el5_2.4z.ppc.rpm
File outdated by:  RHBA-2013:0066
    MD5: 75447fab9724a5df1368fe5763bef471
 
s390x:
vim-X11-7.0.109-4.el5_2.4z.s390x.rpm
File outdated by:  RHBA-2013:0066
    MD5: 7c4678c211e5f476992f8ab63038f053
vim-common-7.0.109-4.el5_2.4z.s390x.rpm
File outdated by:  RHBA-2013:0066
    MD5: 5f154fa1a7c4544efcf3e3a2f6de288e
vim-enhanced-7.0.109-4.el5_2.4z.s390x.rpm
File outdated by:  RHBA-2013:0066
    MD5: 5ba081542adc7dd4b8578af94e480718
vim-minimal-7.0.109-4.el5_2.4z.s390x.rpm
File outdated by:  RHBA-2013:0066
    MD5: 8d113a95ea9e846bf83d136ce261f56c
 
x86_64:
vim-X11-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 19eb758c21642adbd9aa1446f7f9fe74
vim-common-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 636fde3500fdd70882675a492bc56184
vim-enhanced-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: df95c322849b93e2a41153c873b52ff1
vim-minimal-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: bf7470290633195318d0d4be3c1b90c3
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
vim-7.0.109-4.el5_2.4z.src.rpm
File outdated by:  RHBA-2013:0066
    MD5: a1986c7e7d93f78d45041758598b39c1
 
IA-32:
vim-X11-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 256353649343a6fa02784604c094bdf6
vim-common-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 7b8a04d1b506bc97d83ecd404da31b0c
vim-enhanced-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 3876fe6d713fa3d00485dbdae9954dbb
vim-minimal-7.0.109-4.el5_2.4z.i386.rpm
File outdated by:  RHBA-2013:0066
    MD5: 10ae06e7fd057ffb819fd1390e9b1ed6
 
x86_64:
vim-X11-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 19eb758c21642adbd9aa1446f7f9fe74
vim-common-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: 636fde3500fdd70882675a492bc56184
vim-enhanced-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: df95c322849b93e2a41153c873b52ff1
vim-minimal-7.0.109-4.el5_2.4z.x86_64.rpm
File outdated by:  RHBA-2013:0066
    MD5: bf7470290633195318d0d4be3c1b90c3
 
Red Hat Enterprise Linux EUS (v. 5.2.z server)

SRPMS:
vim-7.0.109-4.el5_2.4z.src.rpm
File outdated by:  RHBA-2013:0066
    MD5: a1986c7e7d93f78d45041758598b39c1
 
IA-32:
vim-X11-7.0.109-4.el5_2.4z.i386.rpm     MD5: 256353649343a6fa02784604c094bdf6
vim-common-7.0.109-4.el5_2.4z.i386.rpm     MD5: 7b8a04d1b506bc97d83ecd404da31b0c
vim-enhanced-7.0.109-4.el5_2.4z.i386.rpm     MD5: 3876fe6d713fa3d00485dbdae9954dbb
vim-minimal-7.0.109-4.el5_2.4z.i386.rpm     MD5: 10ae06e7fd057ffb819fd1390e9b1ed6
 
IA-64:
vim-X11-7.0.109-4.el5_2.4z.ia64.rpm     MD5: 0a94d78004d72936c2c6e43b1fbc8e1d
vim-common-7.0.109-4.el5_2.4z.ia64.rpm     MD5: 718024a02830de94e4cfad895364c64b
vim-enhanced-7.0.109-4.el5_2.4z.ia64.rpm     MD5: 7264ad05fee7c343132197eb985b067b
vim-minimal-7.0.109-4.el5_2.4z.ia64.rpm     MD5: 96f3d11c5a0db3eeed153f66308db132
 
PPC:
vim-X11-7.0.109-4.el5_2.4z.ppc.rpm     MD5: d19d071e8408a63deb01971c7608d276
vim-common-7.0.109-4.el5_2.4z.ppc.rpm     MD5: deb7bafe35ae49457344436b76ff87c5
vim-enhanced-7.0.109-4.el5_2.4z.ppc.rpm     MD5: fb7244cd9c8a80b091e7fc239d01032d
vim-minimal-7.0.109-4.el5_2.4z.ppc.rpm     MD5: 75447fab9724a5df1368fe5763bef471
 
s390x:
vim-X11-7.0.109-4.el5_2.4z.s390x.rpm     MD5: 7c4678c211e5f476992f8ab63038f053
vim-common-7.0.109-4.el5_2.4z.s390x.rpm     MD5: 5f154fa1a7c4544efcf3e3a2f6de288e
vim-enhanced-7.0.109-4.el5_2.4z.s390x.rpm     MD5: 5ba081542adc7dd4b8578af94e480718
vim-minimal-7.0.109-4.el5_2.4z.s390x.rpm     MD5: 8d113a95ea9e846bf83d136ce261f56c
 
x86_64:
vim-X11-7.0.109-4.el5_2.4z.x86_64.rpm     MD5: 19eb758c21642adbd9aa1446f7f9fe74
vim-common-7.0.109-4.el5_2.4z.x86_64.rpm     MD5: 636fde3500fdd70882675a492bc56184
vim-enhanced-7.0.109-4.el5_2.4z.x86_64.rpm     MD5: df95c322849b93e2a41153c873b52ff1
vim-minimal-7.0.109-4.el5_2.4z.x86_64.rpm     MD5: bf7470290633195318d0d4be3c1b90c3
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

248542 - CVE-2007-2953 vim format string flaw
451759 - CVE-2008-2712 vim: command execution via scripts not sanitizing inputs to execute and system
461927 - CVE-2008-4101 vim: arbitrary code execution in commands: K, Control-], g]
467428 - CVE-2008-3074 Vim tar.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
467432 - CVE-2008-3075 Vim zip.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
467439 - CVE-2008-3076 Vim netrw.vim plugin: lack of sanitization throughout netrw.vim can lead to arbitrary code execution


References



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/