NULL pointer dereference in Vim - CVE-2023-5441
Published: October 24, 2023
Vulnerability identifier: #VU82311
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-5441
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error in src/gui.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 for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 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
openSUSE Leap Micro
SUSE Enterprise Storage
Ubuntu
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
Desktop Applications Module
openSUSE Leap
openEuler
Anolis OS
Oracle Solaris
VMware Tanzu Application Service for VMs
Isolation Segment
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Redis for Pivotal Platform
vim-nox (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-tiny (Ubuntu package)
vim (Ubuntu package)
xxd (Ubuntu package)
vim-athena (Ubuntu package)
vim-gtk (Ubuntu package)
vim-X11
vim-enhanced
vim-debuginfo
vim-debugsource
vim
vim-minimal
vim-common
vim-filesystem
vim-doc
vim-data
gvim-debuginfo
gvim
vim-data-common
vim-small
vim-small-debuginfo
VMware Tanzu Operations Manager
PowerStore X
Storage Resource Manager
Dell EMC Storage Monitoring and Reporting (SMR)
Amazon Linux AMI
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 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
openSUSE Leap Micro
SUSE Enterprise Storage
Ubuntu
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Basesystem Module
Desktop Applications Module
openSUSE Leap
openEuler
Anolis OS
Oracle Solaris
VMware Tanzu Application Service for VMs
Isolation Segment
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Redis for Pivotal Platform
vim-nox (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-tiny (Ubuntu package)
vim (Ubuntu package)
xxd (Ubuntu package)
vim-athena (Ubuntu package)
vim-gtk (Ubuntu package)
vim-X11
vim-enhanced
vim-debuginfo
vim-debugsource
vim
vim-minimal
vim-common
vim-filesystem
vim-doc
vim-data
gvim-debuginfo
gvim
vim-data-common
vim-small
vim-small-debuginfo
VMware Tanzu Operations Manager
PowerStore X
Storage Resource Manager
Dell EMC Storage Monitoring and Reporting (SMR)
How to mitigate CVE-2023-5441
Install updates from vendor's website.
Vim - update to 9.0.1992
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
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-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 (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-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-gtk (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13
VMware Tanzu Operations Manager - addressed in versions 2.10.66, 3.0.19
PowerStore X - update to 3.2.1.4-2386214
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
Storage Resource Manager - update to 4.10.0.3
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.0.1
vim-X11 - update to 9.0-18
vim-enhanced - update to 9.0-18
vim-debuginfo - update to 9.0-18
vim-debugsource - update to 9.0-18
vim - update to 9.0-18
vim-minimal - update to 9.0-18
vim-common - update to 9.0-18
vim-filesystem - update to 9.0-18
vim - addressed in versions 9.0.1712-1.84, 9.0.2010-1
vim-doc - update to 9.0.2026-1
vim-common - update to 9.0.2026-1
vim-data - update to 9.0.2026-1
vim-filesystem - update to 9.0.2026-1
vim-minimal - update to 9.0.2026-1
vim-enhanced - update to 9.0.2026-1
vim-X11 - update to 9.0.2026-1
vim-debugsource - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-debuginfo - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
gvim-debuginfo - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
gvim - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-data - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-data-common - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-small - addressed in versions 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-small-debuginfo - addressed in versions 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
Oracle Solaris - update to 11.4 SRU 65
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
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-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 (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-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-gtk (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.20, 2:8.2.3995-1ubuntu2.13
VMware Tanzu Operations Manager - addressed in versions 2.10.66, 3.0.19
PowerStore X - update to 3.2.1.4-2386214
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
Storage Resource Manager - update to 4.10.0.3
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.0.1
vim-X11 - update to 9.0-18
vim-enhanced - update to 9.0-18
vim-debuginfo - update to 9.0-18
vim-debugsource - update to 9.0-18
vim - update to 9.0-18
vim-minimal - update to 9.0-18
vim-common - update to 9.0-18
vim-filesystem - update to 9.0-18
vim - addressed in versions 9.0.1712-1.84, 9.0.2010-1
vim-doc - update to 9.0.2026-1
vim-common - update to 9.0.2026-1
vim-data - update to 9.0.2026-1
vim-filesystem - update to 9.0.2026-1
vim-minimal - update to 9.0.2026-1
vim-enhanced - update to 9.0.2026-1
vim-X11 - update to 9.0.2026-1
vim-debugsource - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-debuginfo - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
gvim-debuginfo - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
gvim - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-data - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-data-common - addressed in versions 9.0.2103-17.26.1, 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-small - addressed in versions 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
vim-small-debuginfo - addressed in versions 9.0.2103-150000.5.57.1, 9.0.2103-150500.20.6.1
Oracle Solaris - update to 11.4 SRU 65
External References
- https://huntr.dev/bounties/b54cbdf5-3e85-458d-bb38-9ea2c0b669f2
- https://github.com/vim/vim/commit/20d161ace307e28690229b68584f2d84556f8960
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VDDWD25AZIHBAA44HQT75OWLQ5UMDKU3/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VGTVLUV7UCXXCZAIQIUCLG6JXAVYT3HE/
Related Security Bulletins
- Denial of service in Vim
- Ubuntu update for vim
- SUSE update for vim
- SUSE update for vim
- SUSE update for vim
- VMware Tanzu products update for Vim
- Amazon Linux AMI update for vim
- Oracle Solaris update for thrid-party components
- openEuler update for vim
- Multiple vulnerabilities in Dell Storage Resource Manager (SRM) and Dell Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
- Multiple vulnerabilities in Dell PowerStore X
- Amazon Linux AMI update for vim
- Anolis OS update for vim