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

exploitDog

redhat логотип

CVE-2022-2042

Опубликовано: 10 июн. 2022
Источник: redhat
CVSS3: 7.8

Описание

Use After Free in GitHub repository vim/vim prior to 8.2.

A heap use-after-free vulnerability was found in Vim's skipwhite() function of the src/charset.c file. This flaw occurs because of an uninitialized attribute value and freed memory in the spell command. This flaw allows an attacker to trick a user into opening a specially crafted file, triggering a heap use-after-free that causes an application to crash and corrupt memory.

Отчет

Red Hat Product Security has rated this issue as having a Low security impact because the "victim" has to run an untrusted file IN SCRIPT MODE. Someone who is running untrusted files in script mode is equivalent to someone just taking a random python script and running it. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

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

Untrusted vim scripts with -s [scriptin] are not recommended to run.

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

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

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

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

Статус:

Low
Дефект:
CWE-416
https://bugzilla.redhat.com/show_bug.cgi?id=2097768vim: use after free in skipwhite may lead to crash

7.8 High

CVSS3

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

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

Use After Free in GitHub repository vim/vim prior to 8.2.

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

Use After Free in GitHub repository vim/vim prior to 8.2.

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

Use After Free in GitHub repository vim/vim prior to 8.2.

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

Use After Free in GitHub repository vim/vim prior to 8.2.

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

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

7.8 High

CVSS3