Use-after-free in Vim - CVE-2023-4752

 

Use-after-free in Vim - CVE-2023-4752

Published: September 6, 2023


Vulnerability identifier: #VU80506
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-4752
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to crash the application.

The vulnerability exists due to a use-after-free error within the ins_compl_get_exp() function in insexpand.c. A remote attacker can trick the victim to open a specially crafted file and crash the application.



Affected software

Vim
Amazon Linux AMI
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Enterprise Storage
macOS
Ubuntu
Slackware Linux
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Desktop Applications Module
Basesystem Module
openSUSE Leap
openEuler
Anolis OS
Fedora
Oracle Solaris
Isolation Segment
VMware Tanzu Application Service for VMs
Multicluster GlobalHub
Red Hat Advanced Cluster Management for Kubernetes
Red Hat OpenShift Dev Spaces
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Redis for Pivotal Platform
Voice Gateway
IBM API Connect
SmartFabric OS10
ObjectScale
PowerStore X
EMC ECS
PowerStore T
IBM Sterling Order Management
Dell PowerProtect Cyber Recovery
vim (Ubuntu package)
xxd (Ubuntu package)
vim-gtk (Ubuntu package)
vim-athena (Ubuntu package)
vim-tiny (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-nox (Ubuntu package)
vim-X11
vim-filesystem
vim-minimal
vim-debugsource
vim-common
vim-enhanced
vim-debuginfo
vim
gvim
vim-data
vim-data-common
gvim-debuginfo
vim-small-debuginfo
vim-small
vim-gvim
vim-doc
IBM Cloud Pak for Multicloud Management
Multicluster Engine for Kubernetes
VMware Tanzu Operations Manager
RecoverPoint for VMs
Dell EMC VxRail Appliance
Dell EMC NetWorker vProxy

How to mitigate CVE-2023-4752

Install updates from vendor's website.

Vim - update to 9.0.1858
Voice Gateway - update to 1.0.8.12
IBM API Connect - update to 10.0.8.2 ifix2
SmartFabric OS10 - addressed in versions 10.5.4.11, 10.6.0.3
macOS - update to 14.1 23B74
vim (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13, 2:9.0.1000-4ubuntu3.2, 2:9.0.1672-1ubuntu2.1
xxd (Ubuntu package) - addressed in versions Ubuntu Pro, 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13, 2:9.0.1000-4ubuntu3.2, 2:9.0.1672-1ubuntu2.1
vim-gtk (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13
vim-athena (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13, 2:9.0.1000-4ubuntu3.2, 2:9.0.1672-1ubuntu2.1
vim-tiny (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13, 2:9.0.1000-4ubuntu3.2, 2:9.0.1672-1ubuntu2.1
vim-gtk3 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13, 2:9.0.1000-4ubuntu3.2, 2:9.0.1672-1ubuntu2.1
vim-nox (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13, 2:9.0.1000-4ubuntu3.2, 2:9.0.1672-1ubuntu2.1
ObjectScale - update to 1.4.0
Multicluster GlobalHub - update to 1.4.1
IBM Cloud Pak for Multicloud Management - update to 2.3 Fix Pack 12
Multicluster Engine for Kubernetes - update to 2.6.8
VMware Tanzu Operations Manager - addressed in versions 2.10.66, 3.0.19
Red Hat Advanced Cluster Management for Kubernetes - update to 2.13.3
PowerStore X - update to 3.2.1.4-2386214
EMC ECS - update to 3.8.1.1
Red Hat OpenShift Dev Spaces - update to 3.21.0
PowerStore T - update to 4.0.0.2-2365061
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.0.1
RecoverPoint for VMs - update to 6.0.SP1.P1
Dell EMC VxRail Appliance - update to 8.0.120
vim-X11 - update to 9.0-16
vim-filesystem - update to 9.0-16
vim-minimal - update to 9.0-16
vim-debugsource - update to 9.0-16
vim-common - update to 9.0-16
vim-enhanced - update to 9.0-16
vim-debuginfo - update to 9.0-16
vim - update to 9.0-16
vim - addressed in versions 9.0.1712-1.83, 9.0.1882-1
vim - addressed in versions 9.0.1872-1.fc37, 9.0.1872-1.fc38, 9.0.1872-1.fc39
gvim - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-debugsource - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-data - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-data-common - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
gvim-debuginfo - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-debuginfo - addressed in versions 9.0.1894-17.23.2, 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-small-debuginfo - addressed in versions 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-small - addressed in versions 9.0.1894-150000.5.54.1, 9.0.2103-150500.20.6.1
vim-gvim - update to 9.0.1897
vim - update to 9.0.1897
vim-X11 - update to 9.0.2026-1
vim-common - update to 9.0.2026-1
vim-enhanced - update to 9.0.2026-1
vim-minimal - update to 9.0.2026-1
vim-data - update to 9.0.2026-1
vim-doc - update to 9.0.2026-1
vim-filesystem - update to 9.0.2026-1
IBM Sterling Order Management - update to 10.0.2403.1
Oracle Solaris - update to 11.4 SRU 65
Dell EMC NetWorker vProxy - addressed in versions 19.9.0.4, 19.10
Dell PowerProtect Cyber Recovery - update to 19.15.0.1

External References

Related Security Bulletins