
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-45306 affects Vim, an open source command line text editor, in versions from 9.1.0038 to 9.1.0706. The vulnerability was discovered when patch v9.1.0038 optimized cursor position calculation by removing a verification loop, which inadvertently allowed the cursor position to become invalid by pointing beyond the end of a line. This issue was disclosed on September 2, 2024, and was patched in version 9.1.0707 (Vim Advisory).
The vulnerability is classified as a heap-based buffer overflow (CWE-122). The issue occurs when the cursor position becomes invalid by pointing beyond the end of a line, which can lead to a heap-buffer-overflow when attempting to access the line pointer at the specified cursor position. The vulnerability has been assigned a CVSS v3.1 base score of 4.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L, indicating local access requirements and high attack complexity (Vim Advisory).
The primary impact of this vulnerability is a potential program crash due to heap corruption when processing maliciously crafted files. The impact is considered low as crashes have only been observed during fuzzy file testing rather than during normal editing sessions (Vim Advisory).
The vulnerability has been fixed in Vim patch v9.1.0707. The fix involves setting the cursor to the last character in a line if it would otherwise point beyond the line. Users are advised to upgrade to version 9.1.0707 or later to address this security issue (Vim Advisory, NetApp Advisory).
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."