Vim < 9.1.0648 Double-Free

medium Nessus Plugin ID 205386

Synopsis

A text editor installed on the remote Windows host is affected a double-free vulnerability.

Description

According to its version, the version of Vim installed on the remote Windows host is prior to 9.1.0648. It is, therefore affected by a double free vulnerability. 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.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Vim version 9.1.0648 or later

See Also

http://www.nessus.org/u?a012e08c

Plugin Details

Severity: Medium

ID: 205386

File Name: vim_9_1_0648.nasl

Version: 1.2

Type: local

Agent: windows

Family: Windows

Published: 8/12/2024

Updated: 8/13/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2024-41965

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:vim:vim

Required KB Items: SMB/Registry/Enumerated, installed_sw/Vim

Exploit Ease: No known exploits are available

Patch Publication Date: 8/1/2024

Vulnerability Publication Date: 8/1/2024

Reference Information

CVE: CVE-2024-41965