GLSA 202003-04: Vim, gVim: Remote execution of arbitrary code

Опасность:средняя
Заголовок:Vim, gVim: Remote execution of arbitrary code
Дата:12.03.2020
Ошибки: #687394
ID:202003-04

Сводка

A vulnerability has been found in Vim and gVim concerning how certain modeline options are treated.

Назначение

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

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
app-editors/gvim < 8.1.1486 >= 8.1.1486 All supported architectures
app-editors/vim < 8.1.1486 >= 8.1.1486 All supported architectures

Описание

It was found that the

:source!
command was not restricted by the sandbox mode. If modeline was explicitly enabled, opening a specially crafted text file in vim could result in arbitrary command execution.

Воздействие

A remote attacker could entice a user to open a specially crafted file using Vim or gVim, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Обход

There is no known workaround at this time.

Решение

All Vim users should upgrade to the latest version:

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

All gVim users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-editors/gvim-8.1.1486"

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-202003-04.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!