RHEL 4 : vim (RHSA-2005:036)

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

Updated vim packages that fix security vulnerabilities are now
available for Red Hat Enterprise Linux 4.

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

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

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

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 CVE-2005-0069 to this issue.

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

See also :

https://www.redhat.com/security/data/cve/CVE-2004-1138.html
https://www.redhat.com/security/data/cve/CVE-2005-0069.html
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289560
http://rhn.redhat.com/errata/RHSA-2005-036.html

Solution :

Update the affected packages.

Risk factor :

High / CVSS Base Score : 7.2
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C)

Family: Red Hat Local Security Checks

Nessus Plugin ID: 17170 ()

Bugtraq ID:

CVE ID: CVE-2004-1138
CVE-2005-0069