RHEL 2.1 : vim (RHSA-2002:302)

medium Nessus Plugin ID 12344

Synopsis

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

Description

Updated VIM packages are available for Red Hat Linux Advanced Server.
These updates resolve a security issue when opening a specially crafted text file.

[Updated 06 Feb 2003] Added fixed packages for Advanced Workstation 2.1

VIM (VIsual editor iMproved) is a version of the vi editor.

VIM allows a user to set the modeline differently for each edited text file by placing special comments in the files. Georgi Guninski found that these comments can be carefully crafted in order to call external programs. This could allow an attacker to create a text file such that when it is opened arbitrary commands are executed.

Users of VIM are advised to upgrade to these errata packages which have been patched to disable the usage of dangerous funtions in modelines.

Solution

Update the affected packages.

See Also

https://access.redhat.com/security/cve/cve-2002-1377

http://www.guninski.com/vim1.html

https://marc.info/?l=full-disclosure&m=103972417823566

https://access.redhat.com/errata/RHSA-2002:302

Plugin Details

Severity: Medium

ID: 12344

File Name: redhat-RHSA-2002-302.nasl

Version: 1.28

Type: local

Agent: unix

Published: 7/6/2004

Updated: 1/14/2021

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

CVSS v2

Risk Factor: Medium

Base Score: 4.6

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

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, cpe:/o:redhat:enterprise_linux:2.1, 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/5/2003

Vulnerability Publication Date: 12/23/2002

Reference Information

CVE: CVE-2002-1377

RHSA: 2002:302