Integer overflow in Vim - CVE-2023-48232

 

Integer overflow in Vim - CVE-2023-48232

Published: November 21, 2023


Vulnerability identifier: #VU83391
CSH Severity: Low
CVSS v4 BT: 0.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2023-48232
CWE-ID: CWE-190
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 integer overflow when calculating the line offset for overlong lines and smooth scrolling is enabled and the cpo-settings include the 'n' flag. A remote attacker can trick the victim to open a specially crafted file, trigger an integer overflow and crash the application.

Affected software

Vim
Amazon Linux AMI
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 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 Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Micro
Ubuntu
Slackware Linux
Basesystem Module
Desktop Applications Module
openSUSE Leap
Anolis OS
Fedora
Dell Data Protection Central
PowerProtect DP Series Appliance (IDPA)
PowerStore X
Storage Resource Manager
EMC Cloud Tiering Appliance
vim-nox (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-tiny (Ubuntu package)
vim-athena (Ubuntu package)
vim-gtk (Ubuntu package)
xxd (Ubuntu package)
vim (Ubuntu package)
vim-filesystem
vim-common
vim-X11
vim-enhanced
vim-minimal
vim-data
vim-doc
vim
vim-gvim
gvim
vim-debugsource
vim-debuginfo
gvim-debuginfo
vim-data-common
vim-small-debuginfo
vim-small
Dell EMC Storage Monitoring and Reporting (SMR)
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Dell Secure Connect Gateway

How to mitigate CVE-2023-48232

Install updates from vendor's website.

Vim - update to 9.0.2107
vim-nox (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15, 2:9.0.1000-4ubuntu3.3, 2:9.0.1672-1ubuntu2.2
vim-gtk3 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15, 2:9.0.1000-4ubuntu3.3, 2:9.0.1672-1ubuntu2.2
vim-tiny (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15, 2:9.0.1000-4ubuntu3.3, 2:9.0.1672-1ubuntu2.2
vim-athena (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15, 2:9.0.1000-4ubuntu3.3, 2:9.0.1672-1ubuntu2.2
vim-gtk (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15
xxd (Ubuntu package) - addressed in versions Ubuntu Pro, 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15, 2:9.0.1000-4ubuntu3.3, 2:9.0.1672-1ubuntu2.2
vim (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:8.1.2269-1ubuntu5.21, 2:8.2.3995-1ubuntu2.15, 2:9.0.1000-4ubuntu3.3, 2:9.0.1672-1ubuntu2.2
PowerStore X - update to 3.2.1.4-2386214
Storage Resource Manager - update to 4.10.0.3
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.10.0.3
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.0.1
Dell Secure Connect Gateway - update to 5.24.00.14
vim-filesystem - update to 9.0.2092-5
vim-common - update to 9.0.2092-5
vim-X11 - update to 9.0.2092-5
vim-enhanced - update to 9.0.2092-5
vim-minimal - update to 9.0.2092-5
vim-data - update to 9.0.2092-5
vim-doc - update to 9.0.2092-5
vim - addressed in versions 9.0.2120-1.fc37, 9.0.2120-1.fc38, 9.0.2120-1.fc39
vim - update to 9.0.2120-1.87
vim - update to 9.0.2127
vim-gvim - update to 9.0.2127
vim - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
gvim - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
vim-debugsource - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
vim-debuginfo - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
gvim-debuginfo - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
vim-data - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
vim-data-common - addressed in versions 9.1.0111-17.29.1, 9.1.0111-150500.20.9.1
vim-small-debuginfo - update to 9.1.0111-150500.20.9.1
vim-small - update to 9.1.0111-150500.20.9.1
EMC Cloud Tiering Appliance - update to 13.2.0.2.29

External References

Related Security Bulletins