You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-201701-29.xml

66 lines
2.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201701-29">
<title>Vim, gVim: Remote execution of arbitrary code</title>
<synopsis>A vulnerability has been found in Vim and gVim concerning how
certain modeline options are treated.
</synopsis>
<product type="ebuild">vim, gvim</product>
<announced>2017-01-11</announced>
<revised count="1">2017-01-11</revised>
<bug>600650</bug>
<access>remote</access>
<affected>
<package name="app-editors/vim" auto="yes" arch="*">
<unaffected range="ge">8.0.0106</unaffected>
<vulnerable range="lt">8.0.0106</vulnerable>
</package>
<package name="app-editors/gvim" auto="yes" arch="*">
<unaffected range="ge">8.0.0106</unaffected>
<vulnerable range="lt">8.0.0106</vulnerable>
</package>
</affected>
<background>
<p>Vim is an efficient, highly configurable improved version of the classic
vi text editor. gVim is the GUI version of Vim.
</p>
</background>
<description>
<p>Vim and gVim do not properly validate values for the filetype,
syntax, and keymap options.
</p>
</description>
<impact type="normal">
<p>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.
</p>
</impact>
<workaround>
<p>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.
</p>
</workaround>
<resolution>
<p>All Vim users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=app-editors/vim-8.0.0106"
</code>
<p>All gVim users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=app-editors/gvim-8.0.0106"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1248">CVE-2016-1248</uri>
</references>
<metadata tag="requester" timestamp="2017-01-09T17:07:43Z">whissi</metadata>
<metadata tag="submitter" timestamp="2017-01-11T12:33:33Z">whissi</metadata>
</glsa>