RHEL 4 : vim (RHSA-2005:036)

high Nessus Plugin ID 17170

Synopsis

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

Description

The remote Redhat Enterprise Linux 4 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2005:036 advisory.

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 CAN-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 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.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL vim package based on the guidance in RHSA-2005:036.

See Also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289560

http://www.nessus.org/u?7e4f6104

https://access.redhat.com/security/updates/classification/#low

https://bugzilla.redhat.com/show_bug.cgi?id=144187

https://bugzilla.redhat.com/show_bug.cgi?id=144880

https://access.redhat.com/errata/RHSA-2005:036

Plugin Details

Severity: High

ID: 17170

File Name: redhat-RHSA-2005-036.nasl

Version: 1.27

Type: local

Agent: unix

Published: 2/22/2005

Updated: 11/4/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2004-1138

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:vim-enhanced, p-cpe:/a:redhat:enterprise_linux:vim-minimal, p-cpe:/a:redhat:enterprise_linux:vim-x11, p-cpe:/a:redhat:enterprise_linux:vim, cpe:/o:redhat:enterprise_linux:4, p-cpe:/a:redhat:enterprise_linux:vim-common

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2/15/2005

Vulnerability Publication Date: 1/10/2005

Reference Information

CVE: CVE-2004-1138, CVE-2005-0069

RHSA: 2005:036