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

exploitDog

redhat логотип

CVE-2022-1942

Опубликовано: 31 мая 2022
Источник: redhat
CVSS3: 6.6
EPSS Низкий

Описание

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

An out-of-bounds write vulnerability was found in Vim's vim_regsub_both() function in the src/regexp.c file. The flaw can open a command-line window from a substitute expression when a text or buffer is locked. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering an out-of-bounds write that causes an application to crash, possibly reading and modifying some amount of memory contents.

Отчет

The versions of Vim shipped with Red Hat Enterprise Linux are not affected, because there is no presence of vulnerable code in our code-base. Red Hat Enterprise Virtualization 4 consumes RHEL-8 vim, and as RHEL-8 is not affected, Hence, RHEV is also not affected. Red Hat Product Security has rated this issue as having a Moderate security impact. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6vimNot affected
Red Hat Enterprise Linux 7vimNot affected
Red Hat Enterprise Linux 8vimNot affected
Red Hat Enterprise Linux 9vimNot affected
Red Hat Virtualization 4vimNot affected

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

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

Статус:

Moderate
Дефект:
CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=2092890vim: out of bounds write in vim_regsub_both()

EPSS

Процентиль: 75%
0.00932
Низкий

6.6 Medium

CVSS3

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

CVSS3: 7.8
ubuntu
около 3 лет назад

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVSS3: 7.8
nvd
около 3 лет назад

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVSS3: 7.8
debian
около 3 лет назад

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVSS3: 7.8
github
около 3 лет назад

Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.

CVSS3: 7.5
fstec
почти 3 года назад

Уязвимость функции vim_regsub_both() текстового редактора Vim, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 75%
0.00932
Низкий

6.6 Medium

CVSS3