==================================================================== Red Hat Security Advisory Synopsis: Moderate: vim security update Advisory ID: RHSA-2008:0580-01 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2008-0580.html Issue date: 2008-11-25 CVE Names: CVE-2007-2953 CVE-2008-2712 CVE-2008-3074 CVE-2008-3075 CVE-2008-3076 CVE-2008-4101 ==================================================================== 1. Summary: 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. 2. Relevant releases/architectures: Red Hat Enterprise Linux Desktop (v. 5 client) - i386, x86_64 Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, x86_64 3. Description: 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. 4. 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 5. Bugs fixed (http://bugzilla.redhat.com/): 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 6. Package List: Red Hat Enterprise Linux Desktop (v. 5 client): Source: i386: vim-X11-7.0.109-4.el5_2.4z.i386.rpm vim-common-7.0.109-4.el5_2.4z.i386.rpm vim-debuginfo-7.0.109-4.el5_2.4z.i386.rpm vim-enhanced-7.0.109-4.el5_2.4z.i386.rpm vim-minimal-7.0.109-4.el5_2.4z.i386.rpm x86_64: vim-X11-7.0.109-4.el5_2.4z.x86_64.rpm vim-common-7.0.109-4.el5_2.4z.x86_64.rpm vim-debuginfo-7.0.109-4.el5_2.4z.x86_64.rpm vim-enhanced-7.0.109-4.el5_2.4z.x86_64.rpm vim-minimal-7.0.109-4.el5_2.4z.x86_64.rpm Red Hat Enterprise Linux (v. 5 server): Source: i386: vim-X11-7.0.109-4.el5_2.4z.i386.rpm vim-common-7.0.109-4.el5_2.4z.i386.rpm vim-debuginfo-7.0.109-4.el5_2.4z.i386.rpm vim-enhanced-7.0.109-4.el5_2.4z.i386.rpm vim-minimal-7.0.109-4.el5_2.4z.i386.rpm ia64: vim-X11-7.0.109-4.el5_2.4z.ia64.rpm vim-common-7.0.109-4.el5_2.4z.ia64.rpm vim-debuginfo-7.0.109-4.el5_2.4z.ia64.rpm vim-enhanced-7.0.109-4.el5_2.4z.ia64.rpm vim-minimal-7.0.109-4.el5_2.4z.ia64.rpm ppc: vim-X11-7.0.109-4.el5_2.4z.ppc.rpm vim-common-7.0.109-4.el5_2.4z.ppc.rpm vim-debuginfo-7.0.109-4.el5_2.4z.ppc.rpm vim-enhanced-7.0.109-4.el5_2.4z.ppc.rpm vim-minimal-7.0.109-4.el5_2.4z.ppc.rpm s390x: vim-X11-7.0.109-4.el5_2.4z.s390x.rpm vim-common-7.0.109-4.el5_2.4z.s390x.rpm vim-debuginfo-7.0.109-4.el5_2.4z.s390x.rpm vim-enhanced-7.0.109-4.el5_2.4z.s390x.rpm vim-minimal-7.0.109-4.el5_2.4z.s390x.rpm x86_64: vim-X11-7.0.109-4.el5_2.4z.x86_64.rpm vim-common-7.0.109-4.el5_2.4z.x86_64.rpm vim-debuginfo-7.0.109-4.el5_2.4z.x86_64.rpm vim-enhanced-7.0.109-4.el5_2.4z.x86_64.rpm vim-minimal-7.0.109-4.el5_2.4z.x86_64.rpm 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 7. References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2953 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2712 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3074 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3075 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3076 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4101 http://www.redhat.com/security/updates/classification/#moderate 8. Contact: The Red Hat security contact is
. More contact details at https://www.redhat.com/security/team/contact/ Copyright 2008 Red Hat, Inc.