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

ArchLinux: 201906-9: gvim: arbitrary code execution

June 13, 2019

Summary

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.

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.

References

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

Severity
Package : gvim
Type : arbitrary code execution
Remote : Yes
Link : https://security.archlinux.org/AVG-976

Workaround

Disable modeline support in the vimrc file by setting: set nomodeline

Related News