FLSA-2005:2343: Updated vim packages fix security issues
Posted on: 02/24/2005 04:14 AM

Updated vim packages are available for Red Hat Linux 7.3, 9, and Fedora Core 1

---------------------------------------------------------------------
Fedora Legacy Update Advisory

Synopsis: Updated vim packages fix security issues
Advisory ID: FLSA:2343
Issue date: 2005-02-23
Product: Red Hat Linux, Fedora Core
Keywords: Bugfix
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id=2343
CVE Names: CAN-2004-1138 CAN-2005-0069
---------------------------------------------------------------------


---------------------------------------------------------------------
1. Topic:

Updated vim packages that fix multiple vulnerabilities are now available.

VIM (Vi IMproved) is an updated and improved version of the vi screen-based editor.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386
Fedora Core 1 - i386

3. Problem description:

Ciaran McCreesh discovered a modeline vulnerability in VIM. It is possible that a malicious user could create a file containing a specially crafted modeline which could cause arbitrary command execution when viewed by a victim. Please note that this issue only affects users who have modelines and filetype plugins enabled, which is not the default. The Common Vulnerabilities and Exposures project has assigned the name CAN-2004-1138 to this issue.

The Debian Security Audit Project discovered an insecure temporary file usage in VIM. A local user could overwrite or create files as a different user who happens to run one of the the vulnerable utilities. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0069 to this issue.

All users of VIM are advised to upgrade to these erratum packages, which contain backported patches for these issues.

4. 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 yum and apt. Many people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. This assumes that you have yum or apt-get configured for obtaining Fedora Legacy content. Please visit http://www.fedoralegacy.org/docs for directions on how to
configure yum and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - bug #2343 - multiple vim vulns

6. RPMs required:

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/vim-6.1-18.7x.2.3.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-common-6.1-18.7x.2.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-enhanced-6.1-18.7x.2.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-minimal-6.1-18.7x.2.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.3/updates/i386/vim-X11-6.1-18.7x.2.3.legacy.i386.rpm

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/vim-6.1-29.3.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-common-6.1-29.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-enhanced-6.1-29.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-minimal-6.1-29.3.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/9/updates/i386/vim-X11-6.1-29.3.legacy.i386.rpm

Fedora Core 1:

SRPM:
http://download.fedoralegacy.org/fedora/1/updates/SRPMS/vim-6.2.532-1.3.legacy.src.rpm

i386:
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-common-6.2.532-1.3.legacy.i386.rpm
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-enhanced-6.2.532-1.3.legacy.i386.rpm
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-minimal-6.2.532-1.3.legacy.i386.rpm
http://download.fedoralegacy.org/fedora/1/updates/i386/vim-X11-6.2.532-1.3.legacy.i386.rpm

7. Verification:

SHA1 sum Package Name
---------------------------------------------------------------------

06e66495cc5204b04791af26d8f907a04230f23e
redhat/7.3/updates/i386/vim-common-6.1-18.7x.2.3.legacy.i386.rpm
c04107fabe009eb3de20c6835a5dbdbbe65f0683
redhat/7.3/updates/i386/vim-enhanced-6.1-18.7x.2.3.legacy.i386.rpm
216fa044df92639f713b646af18a60dfc5c64b9e
redhat/7.3/updates/i386/vim-minimal-6.1-18.7x.2.3.legacy.i386.rpm
9d392b1080667ab00958382c85aeaaac8dcc998b
redhat/7.3/updates/i386/vim-X11-6.1-18.7x.2.3.legacy.i386.rpm
6619cf7606ef880604c02d794f379d5bfad274d0
redhat/7.3/updates/SRPMS/vim-6.1-18.7x.2.3.legacy.src.rpm
3beeb08ce9c22babf5f24e6441b38789fedbebe3
redhat/9/updates/i386/vim-common-6.1-29.3.legacy.i386.rpm
f8e91400360d150e31ac789582aed420711b2ce6
redhat/9/updates/i386/vim-enhanced-6.1-29.3.legacy.i386.rpm
876055e7796964cbf738a0c400d8e6aa2fbb8aa5
redhat/9/updates/i386/vim-minimal-6.1-29.3.legacy.i386.rpm
75bd07034c2c09c932ea62aea6dc44cf54e429b1
redhat/9/updates/i386/vim-X11-6.1-29.3.legacy.i386.rpm
b9a8e25c2910eb2d14a524750799351307f310f0
redhat/9/updates/SRPMS/vim-6.1-29.3.legacy.src.rpm
e770d44e4b1d8da203d60adaf1974123deefc1fb
fedora/1/updates/i386/vim-common-6.2.532-1.3.legacy.i386.rpm
39f3cb5e4060acb72db1b4ca26d213d2e9be21cd
fedora/1/updates/i386/vim-enhanced-6.2.532-1.3.legacy.i386.rpm
e2a394b9d036365671464985009e7fc7ae40bec4
fedora/1/updates/i386/vim-minimal-6.2.532-1.3.legacy.i386.rpm
9b2121dc0fd781f613fc7440483f94c9ff099aad
fedora/1/updates/i386/vim-X11-6.2.532-1.3.legacy.i386.rpm
e63c2df5b9c58c83e555e68eff9c38947481f8ac
fedora/1/updates/SRPMS/vim-6.2.532-1.3.legacy.src.rpm

These packages are GPG signed by Fedora Legacy for security. Our key is available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v lt;filenamegt;

If you only wish to verify that each package has not been corrupted or tampered with, examine only the sha1sum with the following command:

sha1sum lt;filenamegt;

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1138
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0069
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289560

9. Contact:

The Fedora Legacy security contact is lt;secnotice@fedoralegacy.orggt;. More project details at http://www.fedoralegacy.org


Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/flsa_20052343_updated_vim_packages_fix_security_issues.html)