Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2016-1248

Опубликовано: 20 нояб. 2016
Источник: redhat
CVSS3: 7.5
CVSS2: 6.8
EPSS Средний

Описание

vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.

A vulnerability was found in vim in how certain modeline options were treated. An attacker could craft a file that, when opened in vim with modelines enabled, could execute arbitrary commands with privileges of the user running vim.

Меры по смягчению последствий

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 5vimWill not fix
Red Hat Enterprise Linux 6vimFixedRHSA-2016:297221.12.2016
Red Hat Enterprise Linux 7vimFixedRHSA-2016:297221.12.2016

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-20->CWE-138
https://bugzilla.redhat.com/show_bug.cgi?id=1398227vim: Lack of validation of values for few options results in code exection

EPSS

Процентиль: 96%
0.23182
Средний

7.5 High

CVSS3

6.8 Medium

CVSS2

Связанные уязвимости

CVSS3: 7.8
ubuntu
почти 9 лет назад

vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.

CVSS3: 7.8
nvd
почти 9 лет назад

vim before patch 8.0.0056 does not properly validate values for the 'filetype', 'syntax' and 'keymap' options, which may result in the execution of arbitrary code if a file with a specially crafted modeline is opened.

CVSS3: 7.8
debian
почти 9 лет назад

vim before patch 8.0.0056 does not properly validate values for the 'f ...

suse-cvrf
почти 9 лет назад

Security update for vim

suse-cvrf
почти 9 лет назад

Security update for vim

EPSS

Процентиль: 96%
0.23182
Средний

7.5 High

CVSS3

6.8 Medium

CVSS2