Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687394 (CVE-2019-12735) - <app-editors/{gvim,vim}-8.1.1486: modelines allow arbitrary code execution (CVE-2019-12735)
Summary: <app-editors/{gvim,vim}-8.1.1486: modelines allow arbitrary code execution (C...
Status: RESOLVED FIXED
Alias: CVE-2019-12735
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL: https://github.com/numirias/security/...
Whiteboard: A2 [glsa+ cve]
Keywords:
: 687488 687498 (view as bug list)
Depends on:
Blocks: 690102
  Show dependency tree
 
Reported: 2019-06-04 22:48 UTC by Thomas Deutschmann (RETIRED)
Modified: 2020-03-12 20:39 UTC (History)
6 users (show)

See Also:
Package list:
app-editors/vim-core-8.1.1486 app-editors/vim-8.1.1486 app-editors/gvim-8.1.1486
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 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 (RETIRED) 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 archtester 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 (RETIRED) gentoo-dev 2019-06-15 17:06:48 UTC
hppa stable
Comment 15 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-17 09:55:44 UTC
s390 stable
Comment 16 Aaron Bauman (RETIRED) gentoo-dev 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 (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-28 10:42:01 UTC
arm stable
Comment 18 Thomas Deutschmann (RETIRED) gentoo-dev 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.
Comment 20 GLSAMaker/CVETool Bot gentoo-dev 2020-03-12 20:39:59 UTC
This issue was resolved and addressed in
 GLSA 202003-04 at https://security.gentoo.org/glsa/202003-04
by GLSA coordinator Thomas Deutschmann (whissi).