Skip to content
OpenAdvisories
Medium ALAS2-2022-1743 12 CVEs

Moderate: vim security update (Amazon Linux 2)

Published Jan 18, 2022 · Updated Sep 23, 2025

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2021-4193: It was found that vim was vulnerable to an out-of-bound read flaw in getvcol(). A specially crafted file could be used to, when opened in vim, disclose some of the process's internal memory. CVE-2021-4192: It was found that vim was vulnerable to use-after-free flaw in win_linetabsize(). Sourcing a specially crafted file in vim could crash the vim process or possibly lead to other undefined behaviors. CVE-2021-4187: 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. CVE-2021-4173: 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. CVE-2021-4166: 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. CVE-2021-4136: 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. CVE-2021-4069: vim is vulnerable to Use After Free CVE-2021-4019: A flaw was found in vim. A possible heap-based buffer overflow vulnerability allows an attacker to input a specially crafted file, leading to a crash or code execution. The highest threat from this vulnerability is system availability. CVE-2021-3984: A flaw was found in vim. A possible heap-based buffer overflow allows an attacker to input a specially crafted file, leading to a crash or code execution. The highest threat from this vulnerability is confidentiality, integrity, and system availability. CVE-2021-3928: A flaw was found in vim. A possible stack-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-3927: 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-3903: vim is vulnerable to Heap-based Buffer Overflow

Fixed packages 7

ReleasePackageFixed in
Amazon Linux · 2 vim-common 2:8.2.4006-1.amzn2.0.1
Amazon Linux · 2 vim-data 2:8.2.4006-1.amzn2.0.1
Amazon Linux · 2 vim-debuginfo 2:8.2.4006-1.amzn2.0.1
Amazon Linux · 2 vim-enhanced 2:8.2.4006-1.amzn2.0.1
Amazon Linux · 2 vim-filesystem 2:8.2.4006-1.amzn2.0.1
Amazon Linux · 2 vim-minimal 2:8.2.4006-1.amzn2.0.1
Amazon Linux · 2 vim-X11 2:8.2.4006-1.amzn2.0.1

Vulnerabilities 12

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3903.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3927.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3928.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-3984.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4019.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4069.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4136.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4166.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4173.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4187.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4192.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-4193.html