Division by zero in Vim - CVE-2023-1127

 

Division by zero in Vim - CVE-2023-1127

Published: March 8, 2023


Vulnerability identifier: #VU73169
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-1127
CWE-ID: CWE-369
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 divide by zero error within the scrolldown() function in move.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 High Performance Computing 15
SUSE Linux Enterprise Server 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
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Oracle Solaris
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise Server 12 SP4 LTSS
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
Fedora
ObjectScale
EMC Cloud Tiering Appliance
IBM Cloud Transformation Advisor
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
RecoverPoint for VMs
Dell EMC VxRail Appliance
vim
gvim-debuginfo
gvim
vim-debugsource
vim-debuginfo
vim-data-common
vim-data
vim-small-debuginfo
vim-small
xxd
Dell EMC NetWorker vProxy

How to mitigate CVE-2023-1127

Install updates from vendor's website.

Vim - update to 9.0.1367
ObjectScale - update to 1.4.0
IBM Cloud Transformation Advisor - update to 3.5.2
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 - addressed in versions 9.0.1367-1.fc36, 9.0.1367-1.fc37, 9.0.1367-1.fc38, 9.0.1407-1.fc36
vim - update to 9.0.1367-1.73
gvim-debuginfo - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
gvim - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-debugsource - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-debuginfo - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-data-common - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-data - addressed in versions 9.0.1386-17.15.4, 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1, 9.0.1572-17.18.1
vim-small-debuginfo - addressed in versions 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1
vim-small - addressed in versions 9.0.1386-150000.5.37.1, 9.0.1443-150000.5.40.1
xxd - update to 9.0.1443-150000.5.40.1
EMC Cloud Tiering Appliance - update to 13.2.0.2.22
Dell EMC NetWorker vProxy - addressed in versions 19.9.0.4, 19.10

External References

Related Security Bulletins