ArchLinux: 201906-9: gvim: arbitrary code execution
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
Workaround
Disable modeline support in the vimrc file by setting: set nomodeline