Vim < 9.1.0647 Use-After-Free

medium Nessus Plugin ID 205313

Synopsis

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

Description

According to its version, the version of Vim installed on the remote Windows host is prior to 9.1.0647. It is, therefore affected by a use-after-free vulnerability. When closing a window, the corresponding tagstack data will be cleared and freed. However a bit later, the quickfix list belonging to that window will also be cleared and if that quickfix list points to the same tagstack data, Vim will try to free it again, resulting in a double-free/use-after-free access exception.

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.0647 or later

See Also

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

Plugin Details

Severity: Medium

ID: 205313

File Name: vim_9_1_0647.nasl

Version: 1.3

Type: local

Agent: windows

Family: Windows

Published: 8/9/2024

Updated: 8/23/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2024-41957

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:L/AC:L/PR:N/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-41957

IAVA: 2024-A-0461-S