NULL pointer dereference in Vim - CVE-2023-1264

 

NULL pointer dereference in Vim - CVE-2023-1264

Published: March 8, 2023


Vulnerability identifier: #VU73172
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-1264
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 within the utfc_ptr2len() function in mbyte.c.c. A remote attacker can trick the victim to open a specially crafted file and crash the editor.


Affected software

Vim
Amazon Linux AMI
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Linux Enterprise Server 12 SP2 BCL
Ubuntu
Slackware Linux
Basesystem Module
Desktop Applications Module
openSUSE Leap
openEuler
Fedora
VMware Tanzu Application Service for VMs
Isolation Segment
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
vim-athena-py2 (Ubuntu package)
vim-nox-py2 (Ubuntu package)
vim-gtk (Ubuntu package)
vim-athena (Ubuntu package)
vim-gtk3-py2 (Ubuntu package)
vim-nox (Ubuntu package)
vim-gtk-py2 (Ubuntu package)
vim-tiny (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim (Ubuntu package)
vim
vim-filesystem
vim-debugsource
vim-minimal
vim-debuginfo
vim-X11
vim-common
vim-enhanced
vim-gvim
gvim
vim-data-common
vim-small
vim-small-debuginfo
xxd
gvim-debuginfo
vim-data
cflinuxfs3
ObjectScale
VMware Tanzu Operations Manager
RecoverPoint for VMs
Dell EMC VxRail Appliance
Dell EMC NetWorker vProxy

How to mitigate CVE-2023-1264

Install update from vendor's website.

Vim - update to 9.0.1392
vim-athena-py2 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
vim-nox-py2 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
vim-gtk (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.0.1453-1ubuntu1.11, 2:8.1.2269-1ubuntu5.12, 2:8.2.3995-1ubuntu2.4
vim-athena (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.0.1453-1ubuntu1.11, 2:8.1.2269-1ubuntu5.12, 2:8.2.3995-1ubuntu2.4, 2:9.0.0242-1ubuntu1.2
vim-gtk3-py2 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
vim-nox (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.0.1453-1ubuntu1.11, 2:8.1.2269-1ubuntu5.12, 2:8.2.3995-1ubuntu2.4, 2:9.0.0242-1ubuntu1.2
vim-gtk-py2 (Ubuntu package) - update to Ubuntu Pro (Infra-only)
vim-tiny (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.0.1453-1ubuntu1.11, 2:8.1.2269-1ubuntu5.12, 2:8.2.3995-1ubuntu2.4, 2:9.0.0242-1ubuntu1.2
vim-gtk3 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.0.1453-1ubuntu1.11, 2:8.1.2269-1ubuntu5.12, 2:8.2.3995-1ubuntu2.4, 2:9.0.0242-1ubuntu1.2
vim (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.0.1453-1ubuntu1.11, 2:8.1.2269-1ubuntu5.12, 2:8.2.3995-1ubuntu2.4, 2:9.0.0242-1ubuntu1.2
vim - addressed in versions stable-3720230316171323.1, 9.0.1407-1.fc36, 9.0.1407-1.fc37, 9.0.1407-1.fc38
cflinuxfs3 - update to 0.357.0
ObjectScale - update to 1.4.0
VMware Tanzu Operations Manager - addressed in versions 2.10.57, 3.0.6
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.101
vim-filesystem - update to 9.0-11
vim-debugsource - update to 9.0-11
vim-minimal - update to 9.0-11
vim-debuginfo - update to 9.0-11
vim-X11 - update to 9.0-11
vim-common - update to 9.0-11
vim-enhanced - update to 9.0-11
vim - update to 9.0-11
vim - update to 9.0.1403-1.76
vim - update to 9.0.1418
vim-gvim - update to 9.0.1418
gvim - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-data-common - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-debuginfo - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-debugsource - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-small - update to 9.0.1443-150000.5.40.1
vim-small-debuginfo - update to 9.0.1443-150000.5.40.1
xxd - update to 9.0.1443-150000.5.40.1
vim - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
gvim-debuginfo - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-data - addressed in versions 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
Dell EMC NetWorker vProxy - addressed in versions 19.9.0.4, 19.10

External References

Related Security Bulletins