Amazon Linux 2 : vim (ALAS-2019-1239)

high Nessus Plugin ID 127460

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

It was found that the `:source!` command was not restricted by the sandbox mode. If modeline was explicitly enabled, opening a specially crafted text file in vim could result in arbitrary command execution.
(CVE-2019-12735)

Solution

Run 'yum update 'vim*'' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2019-1239.html

Plugin Details

Severity: High

ID: 127460

File Name: al2_ALAS-2019-1239.nasl

Version: 1.4

Type: local

Agent: unix

Published: 8/12/2019

Updated: 5/7/2024

Supported Sensors: Frictionless Assessment AWS, 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 Score Source: CVE-2019-12735

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:amazon:linux:vim-x11, p-cpe:/a:amazon:linux:vim-common, p-cpe:/a:amazon:linux:vim-debuginfo, p-cpe:/a:amazon:linux:vim-enhanced, p-cpe:/a:amazon:linux:vim-filesystem, p-cpe:/a:amazon:linux:vim-minimal, cpe:/o:amazon:linux:2

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/27/2019

Vulnerability Publication Date: 6/5/2019

Reference Information

CVE: CVE-2019-12735

ALAS: 2019-1239