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.1

Type: local

Agent: windows

Family: Windows

Published: 8/9/2024

Updated: 8/9/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: Low

Base Score: 3.5

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

CVSS Score Source: CVE-2024-41957

CVSS v3

Risk Factor: Medium

Base Score: 4.5

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

Vulnerability Information

CPE: cpe:/a:vim:vim

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

Patch Publication Date: 8/1/2024

Vulnerability Publication Date: 8/1/2024

Reference Information

CVE: CVE-2024-41957

IAVA: 2024-A-0461