Debian DSA-4467-1 : vim - security update

high Nessus Plugin ID 126013

Synopsis

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

Description

User 'Arminius' discovered a vulnerability in Vim, an enhanced version of the standard UNIX editor Vi (Vi IMproved). The 'Common vulnerabilities and exposures project' identifies the following problem :

Editors typically provide a way to embed editor configuration commands (aka modelines) which are executed once a file is opened, while harmful commands are filtered by a sandbox mechanism. It was discovered that the 'source'command (used to include and execute another file) was not filtered, allowing shell command execution with a carefully crafted file opened in Vim.

Solution

Upgrade the vim packages.

For the stable distribution (stretch), this problem has been fixed in version 2:8.0.0197-4+deb9u2.

See Also

https://security-tracker.debian.org/tracker/source-package/vim

https://packages.debian.org/source/stretch/vim

https://www.debian.org/security/2019/dsa-4467

Plugin Details

Severity: High

ID: 126013

File Name: debian_DSA-4467.nasl

Version: 1.3

Type: local

Agent: unix

Published: 6/19/2019

Updated: 6/21/2019

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

Risk Information

VPR

Risk Factor: High

Score: 8.1

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

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

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

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/18/2019

Vulnerability Publication Date: 6/5/2019

Reference Information

CVE: CVE-2019-12735

DSA: 4467