diff --git a/glsa-201701-29.xml b/glsa-201701-29.xml new file mode 100644 index 0000000000000..fe208305857e3 --- /dev/null +++ b/glsa-201701-29.xml @@ -0,0 +1,65 @@ + + + + Vim, gVim: Remote execution of arbitrary code + A vulnerability has been found in Vim and gVim concerning how + certain modeline options are treated. + + vim, gvim + January 11, 2017 + January 11, 2017: 1 + 600650 + remote + + + 8.0.0106 + 8.0.0106 + + + 8.0.0106 + 8.0.0106 + + + +

Vim is an efficient, highly configurable improved version of the classic + ‘vi’ text editor. gVim is the GUI version of Vim. +

+
+ +

Vim and gVim do not properly validate values for the ‘filetype’, + ‘syntax’, and ‘keymap’ options. +

+
+ +

A remote attacker could entice a user to open a specially crafted file + using Vim/gVim with certain modeline options enabled possibly resulting + in execution of arbitrary code with the privileges of the process. +

+
+ +

Disabling modeline support in .vimrc by adding “set nomodeline” will + prevent exploitation of this flaw. By default, modeline is enabled for + ordinary users but disabled for root. +

+
+ +

All Vim users should upgrade to the latest version:

+ + + # emerge --sync + # emerge --ask --oneshot --verbose ">=app-editors/vim-8.0.0106" + + +

All gVim users should upgrade to the latest version:

+ + + # emerge --sync + # emerge --ask --oneshot --verbose ">=app-editors/gvim-8.0.0106" + +
+ + CVE-2016-1248 + + whissi + whissi +