Advisory

RLSA-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

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-02-01 20:12 UTC
Modified
2026-02-05 01:15 UTC

Affected packages and fixes

vim

RPM packages (rpm) · Rocky Linux 8

Affected

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

Fixed versions

2:8.0.1763-16.el8_5.4

Fix

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

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: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences