Lucene search

K
archlinuxArchLinuxASA-201906-8
HistoryJun 11, 2019 - 12:00 a.m.

[ASA-201906-8] vim: arbitrary code execution

2019-06-1100:00:00
security.archlinux.org
10

8.6 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.003 Low

EPSS

Percentile

71.3%

Arch Linux Security Advisory ASA-201906-8

Severity: High
Date : 2019-06-11
CVE-ID : CVE-2019-12735
Package : vim
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-975

Summary

The package vim before version 8.1.1467-1 is vulnerable to arbitrary
code execution.

Resolution

Upgrade to 8.1.1467-1.

pacman -Syu “vim>=8.1.1467-1”

The problem has been fixed upstream in version 8.1.1467.

Workaround

Disable modeline support in the vimrc file by setting:

set nomodeline

Description

getchar.c in Vim before 8.1.1365 and Neovim before 0.3.6 allows remote
attackers to execute arbitrary OS commands via the :source! command in
a modeline, as demonstrated by execute in Vim, and assert_fails or
nvim_input in Neovim.

Impact

A remote attacker could execute code with a maliciously written file.

References

https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
https://security.archlinux.org/CVE-2019-12735

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanyvim< 8.1.1467-1UNKNOWN

8.6 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.003 Low

EPSS

Percentile

71.3%