RHEL 6 / 7 : vim (RHSA-2016:2972)

high Nessus Plugin ID 95983

Synopsis

The remote Red Hat host is missing a security update for vim.

Description

The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2016:2972 advisory.

Vim (Vi IMproved) is an updated and improved version of the vi editor.

Security Fix(es):

* A vulnerability was found in vim in how certain modeline options were treated. An attacker could craft a file that, when opened in vim with modelines enabled, could execute arbitrary commands with privileges of the user running vim. (CVE-2016-1248)

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

Note that Nessus has not tested for this issue 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-2016:2972.

See Also

http://www.nessus.org/u?2b66f87a

https://access.redhat.com/errata/RHSA-2016:2972

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

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

Plugin Details

Severity: High

ID: 95983

File Name: redhat-RHSA-2016-2972.nasl

Version: 3.13

Type: local

Agent: unix

Published: 12/21/2016

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: Moderate

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2016-1248

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/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, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:vim-x11, p-cpe:/a:redhat:enterprise_linux:vim, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:vim-filesystem, p-cpe:/a:redhat:enterprise_linux:vim-common

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/21/2016

Vulnerability Publication Date: 11/23/2016

Reference Information

CVE: CVE-2016-1248

CWE: 138

RHSA: 2016:2972