QID 354421

Date Published: 2022-12-21

QID 354421: Amazon Linux Security Advisory for vim : ALAS2022-2022-023

A flaw was found in vim.
The vulnerability occurs due to too many recursions, which can lead to a segmentation fault.
This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (
( CVE-2022-0351) a flaw was found in vim.
The vulnerability occurs due to illegal memory access with large tabstop in ex mode, which can lead to a heap buffer overflow.
( CVE-2022-0359) heap-based buffer overflow in github repository vim/vim prior to 8.2. (
( CVE-2022-0361) a flaw was found in vim.
The vulnerability occurs due to illegal memory access and leads to a heap buffer overflow.
( CVE-2022-0368) heap-based buffer overflow in github repository vim/vim prior to 8.2. (
( CVE-2022-0392) a flaw was found in vim.
The vulnerability occurs due to the read operation before the start of the line and leads to a heap buffer overflow.
( CVE-2022-0407)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2022-2022-023 for affected packages and patching details, or update with your package manager.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    ALAS2022-2022-023 amazon linux 2022 URL Logo alas.aws.amazon.com/AL2022/ALAS-2022-023.html