Introducing Wiz for Exposure Management: Unify, prioritize, and remediate exposures everywhere.

CVE-2022-0361
NixOS vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability was discovered in GitHub repository vim/vim prior to version 8.2. The vulnerability was identified with CVE-2022-0361 and was disclosed in early 2022. The issue affects Vim text editor installations across multiple operating systems and distributions (CVE Mitre, NVD).

Technical details

The vulnerability occurs due to illegal memory access when copying lines in visual mode. The issue was addressed in patch 8.2.4215 by adjusting the Visual position after copying lines (GitHub Commit).

Impact

The heap-based buffer overflow vulnerability could lead to denial of service (application crash) or potentially allow arbitrary code execution when processing maliciously crafted files (Red Hat CVE).

Mitigation and workarounds

The vulnerability was patched in Vim version 8.2.4215. Users are advised to upgrade to this version or later. Multiple distributions have released security updates including Debian (2:8.0.0197-4+deb9u5 for Stretch, 2:8.1.0875-5+deb10u3 for Buster) and Apple macOS (Debian LTS, Apple Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management