跳转到帖子

Huawei EulerOS: CVE-2024-43374: vim security update

recommended_posts

发布于
  • Members

Huawei EulerOS: CVE-2024-43374: vim security update

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
08/16/2024
Created
11/12/2024
Added
11/11/2024
Modified
11/11/2024

Description

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.

Solution(s)

  • huawei-euleros-2_0_sp10-upgrade-vim-common
  • huawei-euleros-2_0_sp10-upgrade-vim-enhanced
  • huawei-euleros-2_0_sp10-upgrade-vim-filesystem
  • huawei-euleros-2_0_sp10-upgrade-vim-minimal

References

  • https://attackerkb.com/topics/cve-2024-43374
  • CVE - 2024-43374
  • EulerOS-SA-2024-2918
  • 查看数 694
  • 已创建
  • 最后回复

参与讨论

你可立刻发布并稍后注册。 如果你有帐户,立刻登录发布帖子。

游客
回帖…