Issue Overview:
A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-3778)
A use-after-free vulnerability in vim could allow an attacker to input a specially crafted file leading to memory corruption and a potentially exploitable crash or code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. (CVE-2021-3796)
An out-of-bounds write flaw was found in vim’s drawscreen.c win_redr_status() function. This flaw allows an attacker to trick a user to open a crafted file with specific arguments in vim, triggering an out-of-bounds write. The highest threat from this vulnerability is to confidentiality, integrity, and system availability. (CVE-2021-3872)
There’s an out-of-bounds read flaw in Vim’s ex_docmd.c. An attacker who is capable of tricking a user into opening a specially crafted file could trigger an out-of-bounds read on a memmove operation, potentially causing an impact to application availability. (CVE-2021-3875)
A flaw was found in vim. A possible heap use-after-free vulnerability could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to system availability. (CVE-2021-3968)
A flaw was found in vim. A possible heap-based buffer overflow could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to system availability. (CVE-2021-3973)
A flaw was found in vim. A possible use-after-free vulnerability could allow an attacker to input a specially crafted file leading to a crash or code execution. The highest threat from this vulnerability is to system availability. (CVE-2021-3974)
Affected Packages:
vim
Issue Correction:
Run yum update vim to update your system.
New Packages:
aarch64:
vim-common-8.2.3642-1.amzn2.0.1.aarch64
vim-minimal-8.2.3642-1.amzn2.0.1.aarch64
vim-enhanced-8.2.3642-1.amzn2.0.1.aarch64
vim-X11-8.2.3642-1.amzn2.0.1.aarch64
vim-debuginfo-8.2.3642-1.amzn2.0.1.aarch64
i686:
vim-common-8.2.3642-1.amzn2.0.1.i686
vim-minimal-8.2.3642-1.amzn2.0.1.i686
vim-enhanced-8.2.3642-1.amzn2.0.1.i686
vim-X11-8.2.3642-1.amzn2.0.1.i686
vim-debuginfo-8.2.3642-1.amzn2.0.1.i686
noarch:
vim-filesystem-8.2.3642-1.amzn2.0.1.noarch
src:
vim-8.2.3642-1.amzn2.0.1.src
x86_64:
vim-common-8.2.3642-1.amzn2.0.1.x86_64
vim-minimal-8.2.3642-1.amzn2.0.1.x86_64
vim-enhanced-8.2.3642-1.amzn2.0.1.x86_64
vim-X11-8.2.3642-1.amzn2.0.1.x86_64
vim-debuginfo-8.2.3642-1.amzn2.0.1.x86_64
Red Hat: CVE-2021-3778, CVE-2021-3796, CVE-2021-3872, CVE-2021-3875, CVE-2021-3968, CVE-2021-3973, CVE-2021-3974
Mitre: CVE-2021-3778, CVE-2021-3796, CVE-2021-3872, CVE-2021-3875, CVE-2021-3968, CVE-2021-3973, CVE-2021-3974
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 2 | aarch64 | vim-common | < 8.2.3642-1.amzn2.0.1 | vim-common-8.2.3642-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-minimal | < 8.2.3642-1.amzn2.0.1 | vim-minimal-8.2.3642-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-enhanced | < 8.2.3642-1.amzn2.0.1 | vim-enhanced-8.2.3642-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-x11 | < 8.2.3642-1.amzn2.0.1 | vim-X11-8.2.3642-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-debuginfo | < 8.2.3642-1.amzn2.0.1 | vim-debuginfo-8.2.3642-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | i686 | vim-common | < 8.2.3642-1.amzn2.0.1 | vim-common-8.2.3642-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-minimal | < 8.2.3642-1.amzn2.0.1 | vim-minimal-8.2.3642-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-enhanced | < 8.2.3642-1.amzn2.0.1 | vim-enhanced-8.2.3642-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-x11 | < 8.2.3642-1.amzn2.0.1 | vim-X11-8.2.3642-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-debuginfo | < 8.2.3642-1.amzn2.0.1 | vim-debuginfo-8.2.3642-1.amzn2.0.1.i686.rpm |