Gentoo Archives: gentoo-announce

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202003-04 ] Vim, gVim: Remote execution of arbitrary code
Date: Thu, 12 Mar 2020 20:40:27
Message-Id: 9cb64d43-bb9a-ddf4-3626-19d54f2d0ca7@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202003-04
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: Vim, gVim: Remote execution of arbitrary code
9 Date: March 12, 2020
10 Bugs: #687394
11 ID: 202003-04
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A vulnerability has been found in Vim and gVim concerning how certain
19 modeline options are treated.
20
21 Background
22 ==========
23
24 Vim is an efficient, highly configurable improved version of the
25 classic ‘vi’ text editor. gVim is the GUI version of Vim.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 app-editors/vim < 8.1.1486 >= 8.1.1486
34 2 app-editors/gvim < 8.1.1486 >= 8.1.1486
35 -------------------------------------------------------------------
36 2 affected packages
37
38 Description
39 ===========
40
41 It was found that the `:source!` command was not restricted by the
42 sandbox mode. If modeline was explicitly enabled, opening a specially
43 crafted text file in vim could result in arbitrary command execution.
44
45 Impact
46 ======
47
48 A remote attacker could entice a user to open a specially crafted file
49 using Vim or gVim, possibly resulting in execution of arbitrary code
50 with the privileges of the process or a Denial of Service condition.
51
52 Workaround
53 ==========
54
55 There is no known workaround at this time.
56
57 Resolution
58 ==========
59
60 All Vim users should upgrade to the latest version:
61
62 # emerge --sync
63 # emerge --ask --oneshot --verbose ">=app-editors/vim-8.1.1486"
64
65 All gVim users should upgrade to the latest version:
66
67 # emerge --sync
68 # emerge --ask --oneshot --verbose ">=app-editors/gvim-8.1.1486"
69
70 References
71 ==========
72
73 [ 1 ] CVE-2019-12735
74 https://nvd.nist.gov/vuln/detail/CVE-2019-12735
75
76 Availability
77 ============
78
79 This GLSA and any updates to it are available for viewing at
80 the Gentoo Security Website:
81
82 https://security.gentoo.org/glsa/202003-04
83
84 Concerns?
85 =========
86
87 Security is a primary focus of Gentoo Linux and ensuring the
88 confidentiality and security of our users' machines is of utmost
89 importance to us. Any security concerns should be addressed to
90 security@g.o or alternatively, you may file a bug at
91 https://bugs.gentoo.org.
92
93 License
94 =======
95
96 Copyright 2020 Gentoo Foundation, Inc; referenced text
97 belongs to its owner(s).
98
99 The contents of this document are licensed under the
100 Creative Commons - Attribution / Share Alike license.
101
102 https://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature