Advisory

ALSA-2022:0366

Also known as: CVE-2021-3872, CVE-2021-3984, CVE-2021-4019, CVE-2021-4192, CVE-2021-4193

Summary

Moderate: vim security update

Details

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)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Not rated by the source.

Dates

Published
2022-02-01 20:12 UTC
Modified
2026-10-29 11:00 UTC

Affected packages and fixes

vim-X11

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2:8.0.1763-16.el8_5.13 (ecosystem)

Fixed versions

2:8.0.1763-16.el8_5.13

Fix

  • Fixed version 2:8.0.1763-16.el8_5.13
    sudo dnf upgrade vim-X11-2:8.0.1763-16.el8_5.13

vim-common

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2:8.0.1763-16.el8_5.13 (ecosystem)

Fixed versions

2:8.0.1763-16.el8_5.13

Fix

  • Fixed version 2:8.0.1763-16.el8_5.13
    sudo dnf upgrade vim-common-2:8.0.1763-16.el8_5.13

vim-enhanced

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2:8.0.1763-16.el8_5.13 (ecosystem)

Fixed versions

2:8.0.1763-16.el8_5.13

Fix

  • Fixed version 2:8.0.1763-16.el8_5.13
    sudo dnf upgrade vim-enhanced-2:8.0.1763-16.el8_5.13

vim-filesystem

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2:8.0.1763-16.el8_5.13 (ecosystem)

Fixed versions

2:8.0.1763-16.el8_5.13

Fix

  • Fixed version 2:8.0.1763-16.el8_5.13
    sudo dnf upgrade vim-filesystem-2:8.0.1763-16.el8_5.13

vim-minimal

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 2:8.0.1763-16.el8_5.13 (ecosystem)

Fixed versions

2:8.0.1763-16.el8_5.13

Fix

  • Fixed version 2:8.0.1763-16.el8_5.13
    sudo dnf upgrade vim-minimal-2:8.0.1763-16.el8_5.13

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences