Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687394 (CVE-2019-12735)

Summary: <app-editors/{neovim,vim}-8.1.1486: modelines allow arbitrary code execution (CVE-2019-12735)
Product: Gentoo Security Reporter: Thomas Deutschmann <whissi>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: IN_PROGRESS ---    
Severity: major CC: alexander, gentoo_bugs_peep, redblade7, theodor, vim, xdch47
Priority: Normal Flags: stable-bot: sanity-check+
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md
See Also: https://bugs.gentoo.org/show_bug.cgi?id=347835
Whiteboard: A2 [glsa cve]
Package list:
app-editors/vim-core-8.1.1486 app-editors/vim-8.1.1486 app-editors/gvim-8.1.1486
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 690102    

Description Thomas Deutschmann gentoo-dev Security 2019-06-04 22:48:40 UTC
Vim before 8.1.1365 and Neovim before 0.3.6 are vulnerable to arbitrary code execution via modelines by opening a specially crafted text file.

See $URL for details.
Comment 1 theodor 2019-06-06 01:14:53 UTC
*** Bug 687488 has been marked as a duplicate of this bug. ***
Comment 2 Jeroen Roovers gentoo-dev 2019-06-06 10:33:08 UTC
*** Bug 687498 has been marked as a duplicate of this bug. ***
Comment 3 Felix Neumärker 2019-06-06 11:12:37 UTC
Simple bump (e.g https://github.com/gentoo/gentoo/pull/12205) works for me
Comment 4 fkater 2019-06-06 20:11:41 UTC
cp neovim-0.3.4-r1.ebuild neovim-0.3.6.ebuild
ebuild neovim-0.3.6.ebuild manifest
emerge neovim
WFM
Comment 5 Felix Neumärker 2019-06-07 17:26:34 UTC
resolved for app-editors/vim by Tim Harder,
see https://github.com/gentoo/gentoo/commit/53f8f342df7a9ec40e9feb13c732c65ef6d76344
Comment 6 Tim Harder gentoo-dev 2019-06-13 02:37:30 UTC
Arches/security, feel free to start the stabilization process for vim 8.1.1486 and related pkgs.
Comment 7 Larry the Git Cow gentoo-dev 2019-06-13 12:21:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=188b09fcc4e05cdf18236579d33ae813d3700cf0

commit 188b09fcc4e05cdf18236579d33ae813d3700cf0
Author:     Tobias Klausmann <klausman@gentoo.org>
AuthorDate: 2019-06-13 12:20:50 +0000
Commit:     Tobias Klausmann <klausman@gentoo.org>
CommitDate: 2019-06-13 12:20:50 +0000

    app-editors/vim-core-8.1.1486-r0: alpha stable
    
    Bug: http://bugs.gentoo.org/687394
    Signed-off-by: Tobias Klausmann <klausman@gentoo.org>

 app-editors/vim-core/vim-core-8.1.1486.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0268942c13be8e8b29c395ecad6e986093541cd8

commit 0268942c13be8e8b29c395ecad6e986093541cd8
Author:     Tobias Klausmann <klausman@gentoo.org>
AuthorDate: 2019-06-13 12:20:50 +0000
Commit:     Tobias Klausmann <klausman@gentoo.org>
CommitDate: 2019-06-13 12:20:50 +0000

    app-editors/gvim-8.1.1486-r0: alpha stable
    
    Bug: http://bugs.gentoo.org/687394
    Signed-off-by: Tobias Klausmann <klausman@gentoo.org>

 app-editors/gvim/gvim-8.1.1486.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab6666ec4398232ca353f9ee17ebbd32a33fe01

commit 1ab6666ec4398232ca353f9ee17ebbd32a33fe01
Author:     Tobias Klausmann <klausman@gentoo.org>
AuthorDate: 2019-06-13 12:20:45 +0000
Commit:     Tobias Klausmann <klausman@gentoo.org>
CommitDate: 2019-06-13 12:20:45 +0000

    app-editors/vim-8.1.1486-r0: alpha stable
    
    Bug: http://bugs.gentoo.org/687394
    Signed-off-by: Tobias Klausmann <klausman@gentoo.org>

 app-editors/vim/vim-8.1.1486.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 8 Agostino Sarubbo gentoo-dev 2019-06-13 14:17:04 UTC
amd64 stable
Comment 9 Agostino Sarubbo gentoo-dev 2019-06-13 15:10:48 UTC
ppc64 stable
Comment 10 Rolf Eike Beer 2019-06-13 20:28:45 UTC
sparc stable
Comment 11 Agostino Sarubbo gentoo-dev 2019-06-14 09:18:43 UTC
ppc stable
Comment 12 Agostino Sarubbo gentoo-dev 2019-06-14 09:26:54 UTC
ia64 stable
Comment 13 Agostino Sarubbo gentoo-dev 2019-06-14 15:01:26 UTC
x86 stable
Comment 14 Sergei Trofimovich gentoo-dev 2019-06-15 17:06:48 UTC
hppa stable
Comment 15 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-06-17 09:55:44 UTC
s390 stable
Comment 16 Aaron Bauman Gentoo Infrastructure gentoo-dev Security 2019-07-21 22:34:02 UTC
app-editors/vim
app-editors/vim-core

stable on arm64

gvim does not carry any stable keywords on arm64
Comment 17 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2019-07-28 10:42:01 UTC
arm stable
Comment 18 Thomas Deutschmann gentoo-dev Security 2019-10-27 00:03:04 UTC
New GLSA request filed.
Comment 19 Red 2019-11-30 17:08:58 UTC
Should this bug be closed? =app-editors/vim-8.1.1486 is stable on all platforms.