CVE-2024-41965
Vim Double-Free Dialogue Changed Buffer Crafter
Description
Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the changed buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet. However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been fixed as of Vim patch v9.1.0648.
INFO
Published Date :
Aug. 1, 2024, 10:15 p.m.
Last Modified :
Aug. 9, 2024, 2:09 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.4
Exploitability Score :
0.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-41965
.
URL | Resource |
---|---|
https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48c | Patch |
https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-41965
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-41965
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 09, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L Changed Reference Type https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48c No Types Assigned https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48c Patch Changed Reference Type https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f No Types Assigned https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f Vendor Advisory Added CWE NIST CWE-415 Added CPE Configuration OR *cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions up to (excluding) 9.1.0648 -
CVE Received by [email protected]
Aug. 01, 2024
Action Type Old Value New Value Added Description Vim is an open source command line text editor. double-free in dialog_changed() in Vim < v9.1.0648. When abandoning a buffer, Vim may ask the user what to do with the modified buffer. If the user wants the changed buffer to be saved, Vim may create a new Untitled file, if the buffer did not have a name yet. However, when setting the buffer name to Unnamed, Vim will falsely free a pointer twice, leading to a double-free and possibly later to a heap-use-after-free, which can lead to a crash. The issue has been fixed as of Vim patch v9.1.0648. Added Reference GitHub, Inc. https://github.com/vim/vim/security/advisories/GHSA-46pw-v7qw-xc2f [No types assigned] Added Reference GitHub, Inc. https://github.com/vim/vim/commit/b29f4abcd4b3382fa746edd1d0562b7b48c [No types assigned] Added CWE GitHub, Inc. CWE-416 Added CVSS V3.1 GitHub, Inc. AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-41965
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-41965
weaknesses.