Use-after-free in Vim - CVE-2024-43374

 

Use-after-free in Vim - CVE-2024-43374

Published: August 15, 2024


Vulnerability identifier: #VU96061
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-43374
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the alist_add() function in arglist.c. A remote attacker can trick the victim into opening a specially crafted file, trigger a use-after-free error and execute arbitrary code on the system..

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Vim
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Micro
openSUSE Leap Micro
Ubuntu
Desktop Applications Module
Basesystem Module
openSUSE Leap
openEuler
Anolis OS
Fedora
Dell EMC VxRail Appliance
vim (Ubuntu package)
vim-X11
vim
vim-filesystem
vim-minimal
vim-enhanced
vim-debugsource
vim-debuginfo
vim-common
vim-doc
vim-data
vim-data-common
gvim-debuginfo
gvim
vim-small-debuginfo
vim-small
APEX Cloud Platform for Red Hat OpenShift
Dell Secure Connect Gateway

How to mitigate CVE-2024-43374

Install updates from vendor's website.

Vim - update to 9.1.0678
Dell EMC VxRail Appliance - update to 8.321
vim (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.24, 2:8.2.3995-1ubuntu2.18, 2:9.1.0016-1ubuntu7.2
APEX Cloud Platform for Red Hat OpenShift - update to 03.02.04.00
Dell Secure Connect Gateway - update to 5.28.00.14
vim-X11 - update to 9.0-25
vim - update to 9.0-25
vim-filesystem - update to 9.0-25
vim-minimal - update to 9.0-25
vim-enhanced - update to 9.0-25
vim-debugsource - update to 9.0-25
vim-debuginfo - update to 9.0-25
vim-common - update to 9.0-25
vim-doc - update to 9.0.2092-6
vim-data - update to 9.0.2092-6
vim-minimal - update to 9.0.2092-6
vim-enhanced - update to 9.0.2092-6
vim-common - update to 9.0.2092-6
vim-X11 - update to 9.0.2092-6
vim-filesystem - update to 9.0.2092-6
vim - addressed in versions 9.1.703-1.fc39, 9.1.703-1.fc40, 9.1.703-1.fc41, 9.1.719-1.fc39
vim-data-common - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
vim-data - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
vim - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
gvim-debuginfo - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
gvim - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
vim-debugsource - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
vim-debuginfo - addressed in versions 9.1.0836-17.38.1, 9.1.0836-150500.20.15.1
vim-small-debuginfo - update to 9.1.0836-150500.20.15.1
vim-small - update to 9.1.0836-150500.20.15.1

External References

Related Security Bulletins