Use of Out-of-range Pointer Offset in Vim - CVE-2023-2426

 

Use of Out-of-range Pointer Offset in Vim - CVE-2023-2426

Published: May 30, 2023


Vulnerability identifier: #VU76670
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-2426
CWE-ID: CWE-823
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 an out-of-range pointer offset within the mb_charlen() function in mbyte.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 High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE CaaS Platform
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 Enterprise Storage
macOS
SUSE Linux Enterprise Server 12 SP2 BCL
Ubuntu
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 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
Fedora
Isolation Segment
VMware Tanzu Application Service for VMs
vim-tiny (Ubuntu package)
vim (Ubuntu package)
vim-filesystem
vim-minimal
vim-debuginfo
vim-X11
vim-common
vim-debugsource
vim-enhanced
vim
gvim-debuginfo
gvim
vim-data
vim-data-common
vim-small
vim-small-debuginfo
ObjectScale
VMware Tanzu Operations Manager
RecoverPoint for VMs
Dell EMC VxRail Appliance
Dell EMC NetWorker vProxy

How to mitigate CVE-2023-2426

Install updates from vendor's website.

Vim - update to 9.0.1499
macOS - addressed in versions 11.7.9 20G1426, 12.6.8 21G725, 13.5 22G74
vim-tiny (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.15, 2:8.2.3995-1ubuntu2.8, 2:9.0.0242-1ubuntu1.4, 2:9.0.1000-4ubuntu3.1
vim (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.15, 2:8.2.3995-1ubuntu2.8, 2:9.0.0242-1ubuntu1.4, 2:9.0.1000-4ubuntu3.1
ObjectScale - update to 1.4.0
VMware Tanzu Operations Manager - addressed in versions 2.10.59, 3.0.12
RecoverPoint for VMs - update to 6.0.SP1.P1
Dell EMC VxRail Appliance - update to 8.0.120
vim-filesystem - update to 9.0-13
vim-minimal - update to 9.0-13
vim-debuginfo - update to 9.0-13
vim-X11 - update to 9.0-13
vim-common - update to 9.0-13
vim-debugsource - update to 9.0-13
vim-enhanced - update to 9.0-13
vim - update to 9.0-13
vim - addressed in versions 9.0.1562-1.fc37, 9.0.1562-1.fc38
vim - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
gvim-debuginfo - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
gvim - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim-debugsource - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim-data - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim-data-common - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim-debuginfo - addressed in versions 9.0.1572-17.18.1, 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim-small - addressed in versions 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim-small-debuginfo - addressed in versions 9.0.1572-150000.5.46.1, 9.0.1632-150500.20.3.1
vim - update to 9.0.1587-1.79
Dell EMC NetWorker vProxy - addressed in versions 19.9.0.4, 19.10

External References

Related Security Bulletins