logo
DATABASE RESOURCES PRICING ABOUT US

Medium: vim

Description

**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 ### Additional References Red Hat: [CVE-2021-3778](<https://access.redhat.com/security/cve/CVE-2021-3778>), [CVE-2021-3796](<https://access.redhat.com/security/cve/CVE-2021-3796>), [CVE-2021-3872](<https://access.redhat.com/security/cve/CVE-2021-3872>), [CVE-2021-3875](<https://access.redhat.com/security/cve/CVE-2021-3875>), [CVE-2021-3968](<https://access.redhat.com/security/cve/CVE-2021-3968>), [CVE-2021-3973](<https://access.redhat.com/security/cve/CVE-2021-3973>), [CVE-2021-3974](<https://access.redhat.com/security/cve/CVE-2021-3974>) Mitre: [CVE-2021-3778](<https://vulners.com/cve/CVE-2021-3778>), [CVE-2021-3796](<https://vulners.com/cve/CVE-2021-3796>), [CVE-2021-3872](<https://vulners.com/cve/CVE-2021-3872>), [CVE-2021-3875](<https://vulners.com/cve/CVE-2021-3875>), [CVE-2021-3968](<https://vulners.com/cve/CVE-2021-3968>), [CVE-2021-3973](<https://vulners.com/cve/CVE-2021-3973>), [CVE-2021-3974](<https://vulners.com/cve/CVE-2021-3974>)


Affected Package


OS OS Version Package Name Package Version
Amazon Linux 2 vim-common 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-minimal 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-enhanced 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-x11 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-debuginfo 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-common 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-minimal 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-enhanced 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-x11 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-debuginfo 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-filesystem 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-common 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-minimal 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-enhanced 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-x11 8.2.3642-1.amzn2.0.1
Amazon Linux 2 vim-debuginfo 8.2.3642-1.amzn2.0.1

Related