Debian DSA-1733-1 : vim - several vulnerabilities

high Nessus Plugin ID 35764

Synopsis

The remote Debian host is missing a security-related update.

Description

Several vulnerabilities have been found in vim, an enhanced vi editor.
The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2008-2712 Jan Minar discovered that vim did not properly sanitise inputs before invoking the execute or system functions inside vim scripts. This could lead to the execution of arbitrary code.

- CVE-2008-3074 Jan Minar discovered that the tar plugin of vim did not properly sanitise the filenames in the tar archive or the name of the archive file itself, making it prone to arbitrary code execution.

- CVE-2008-3075 Jan Minar discovered that the zip plugin of vim did not properly sanitise the filenames in the zip archive or the name of the archive file itself, making it prone to arbitrary code execution.

- CVE-2008-3076 Jan Minar discovered that the netrw plugin of vim did not properly sanitise the filenames or directory names it is given. This could lead to the execution of arbitrary code.

- CVE-2008-4101 Ben Schmidt discovered that vim did not properly escape characters when performing keyword or tag lookups. This could lead to the execution of arbitrary code.

Solution

For the oldstable distribution (etch), these problems have been fixed in version 1:7.0-122+1etch5.

For the stable distribution (lenny), these problems have been fixed in version 1:7.1.314-3+lenny1, which was already included in the lenny release.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486502

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919

https://security-tracker.debian.org/tracker/CVE-2008-2712

https://security-tracker.debian.org/tracker/CVE-2008-3074

https://security-tracker.debian.org/tracker/CVE-2008-3075

https://security-tracker.debian.org/tracker/CVE-2008-3076

https://security-tracker.debian.org/tracker/CVE-2008-4101

https://www.debian.org/security/2009/dsa-1733

Plugin Details

Severity: High

ID: 35764

File Name: debian_DSA-1733.nasl

Version: 1.14

Type: local

Agent: unix

Published: 3/4/2009

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:vim, cpe:/o:debian:debian_linux:4.0, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 3/3/2009

Reference Information

CVE: CVE-2008-2712, CVE-2008-3074, CVE-2008-3075, CVE-2008-3076, CVE-2008-4101

CWE: 20, 78, 94

DSA: 1733