[manjaro-security] [ASA-201906-9] gvim: arbitrary code execution

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


Arch Linux Security Advisory ASA-201906-9
=========================================

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

Summary
=======

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

Resolution
==========

Upgrade to 8.1.1467-1.

# pacman -Syu "gvim>=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/da3b7f48/attachment.sig>


More information about the manjaro-security mailing list