CVE-2019-12735 (NVD)

2019-06-05

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.

Products Neovim, Vim
Type Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)
First patch - None (likely due to unavailable code)
Patches https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md
https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
https://github.com/neovim/neovim/pull/10082
Links https://support.f5.com/csp/article/K93144355
https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html
https://access.redhat.com/errata/RHSA-2019:1793
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00075.html
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00031.html