
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-2288 is an out-of-bounds write vulnerability discovered in the Vim text editor, specifically affecting versions prior to 9.0. The vulnerability was disclosed on July 3, 2022, and affects the parsecommandmodifiers() function in ex_docmd.c (CVE Details, NVD).
The vulnerability is characterized as an out-of-bounds write issue in the parsecommandmodifiers() function within ex_docmd.c. The issue occurs when using the cmdline window in Ex mode, where the code incorrectly handles memory access. The fix involved replacing the use of "'<,'>" with "*" for Visual mode to prevent the command from accessing memory beyond its allocated space (GitHub Commit). The vulnerability has been assigned a CVSS v3.1 score of 7.8 (HIGH) (Rapid7).
The vulnerability could potentially lead to memory corruption and possible code execution when exploited. The out-of-bounds write condition could allow an attacker to manipulate memory contents beyond the intended boundaries, potentially compromising system security (Fedora Update).
The vulnerability has been fixed in Vim version 9.0. Users are advised to upgrade to this version or later. Multiple Linux distributions have released security updates to address this vulnerability, including Fedora (vim-9.0.049-1.fc35) and Gentoo (>=vim-9.0.0060) (Fedora Update, Gentoo Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."