• CVE-2024-43374

发布时间: 2024年8月23日

修改时间: 2024年10月9日

概要

The UNIX editor Vim prior to version 9.1.0678 has a use-after-free error in argument list handling. When adding a new file to the argument list, this triggers `Buf*` autocommands. If in such an autocommand the buffer that was just opened is closed (including the window where it is shown), this causes the window structure to be freed which contains a reference to the argument list that we are actually modifying. Once the autocommands are completed, the references to the window and argument list are no longer valid and as such cause an use-after-free. Impact is low since the user must either intentionally add some unusual autocommands that wipe a buffer during creation (either manually or by sourcing a malicious plugin), but it will crash Vim. The issue has been fixed as of Vim patch v9.1.0678.

CVSS v3 指标

NVD openEuler
CVSS评分 4.5 4.5
Attack Vector Local Local
Attack Complexity High High
Privileges Required None None
User Interaction Required Required
Scope Unchanged Unchanged
Confidentiality Low Low
Integrity Low Low
Availability Low Low

安全公告

公告名 概要 发布时间
KylinSec-SA-2024-3689 vim security update 2024年8月23日

影响产品

产品 状态
KY3.4-5A vim Fixed
KY3.5.2 vim Fixed
V6 vim Fixed