QID 240055

Date Published: 2022-02-02

QID 240055: Red Hat Update for vim (RHSA-2022:0366)

vim (vi improved) is an updated and improved version of the vi editor.

Security Fix(es):
  • vim: heap-based buffer overflow in win_redr_status() in drawscreen.c (cve-2021-3872)
  • vim: illegal memory access in find_start_brace() in cindent.c when c-indenting (cve-2021-3984)
  • vim: heap-based buffer overflow in find_help_tags() in help.c (cve-2021-4019)
  • vim: use-after-free in win_linetabsize() (cve-2021-4192)
  • vim: out-of-bound read in getvcol() (cve-2021-4193)

Affected Products:

  • Red Hat enterprise linux for x86_64 8 x86_64
  • Red Hat enterprise linux for ibm z systems 8 s390x
  • Red Hat enterprise linux for power, little endian 8 ppc64le
  • Red Hat enterprise linux for arm 64 8 aarch64



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 security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as High - 6.8 severity.
  • Solution
    Refer to Red Hat security advisory RHSA-2022:0366 for updates and patch information.
    Vendor References
    Software Advisories
    Advisory ID Software Component Link
    RHSA-2022:0366 Red Hat Enterprise Linux URL Logo access.redhat.com/errata/RHSA-2022:0366