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

Morten Linderud foxboron at archlinux.org
Thu Jun 13 16:47:18 CEST 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.manjaro.org/pipermail/manjaro-security/attachments/20190613/91927100/attachment.sig>


More information about the manjaro-security mailing list