CentOS 3 / 4 : vim (CESA-2008:0617)

high Nessus Plugin ID 37794

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated vim packages that fix various security issues are now available for Red Hat Enterprise Linux 3 and 4.

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

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)

A heap-based overflow flaw was discovered in Vim's expansion of file name patterns with shell wildcards. An attacker could create a specially crafted file or directory name that, when opened by Vim, caused the application to crash or, possibly, execute arbitrary code.
(CVE-2008-3432)

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 Harnhammar, 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.

Solution

Update the affected vim packages.

See Also

http://www.nessus.org/u?cc54fc6a

http://www.nessus.org/u?367a1c9a

http://www.nessus.org/u?fbfb5dee

http://www.nessus.org/u?a4a2cdf8

http://www.nessus.org/u?ec3f54e1

http://www.nessus.org/u?22256de6

Plugin Details

Severity: High

ID: 37794

File Name: centos_RHSA-2008-0617.nasl

Version: 1.20

Type: local

Agent: unix

Published: 4/23/2009

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:vim-enhanced, cpe:/o:centos:centos:3, p-cpe:/a:centos:centos:vim-x11, cpe:/o:centos:centos:4, p-cpe:/a:centos:centos:vim-common, p-cpe:/a:centos:centos:vim-minimal

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/25/2008

Vulnerability Publication Date: 7/31/2007

Reference Information

CVE: CVE-2007-2953, CVE-2008-2712, CVE-2008-3432, CVE-2008-4101

CWE: 119, 20

RHSA: 2008:0617