EulerOS 2.0 SP1 : vim (EulerOS-SA-2017-1033)

High Nessus Plugin ID 99878


The remote EulerOS host is missing multiple security updates.


According to the versions of the vim packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- 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)

- vim before patch 8.0.0322 does not properly validate values for tree length when handling a spell file, which may result in an integer overflow at a memory allocation site and a resultant buffer overflow.(CVE-2017-5953)

Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected vim packages.

See Also

Plugin Details

Severity: High

ID: 99878

File Name: EulerOS_SA-2017-1033.nasl

Version: $Revision: 1.2 $

Type: local

Published: 2017/05/02

Modified: 2017/05/02

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 5.5

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C


Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:vim-X11, p-cpe:/a:huawei:euleros:vim-common, p-cpe:/a:huawei:euleros:vim-enhanced, p-cpe:/a:huawei:euleros:vim-filesystem, p-cpe:/a:huawei:euleros:vim-minimal, cpe:/o:huawei:euleros:2.0

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/02/28

Reference Information

CVE: CVE-2016-1248, CVE-2017-5953

OSVDB: 147697, 151922