Out-of-bounds read in Vim - CVE-2022-0128

 

Out-of-bounds read in Vim - CVE-2022-0128

Published: February 22, 2022


Vulnerability identifier: #VU60788
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-2022-0128
CWE-ID: CWE-125
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 a boundary condition. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger out-of-bounds read error and crash the application.


Affected software

Vim
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
macOS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
Fedora
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
Watson CP4D Data Stores
EMC Cloud Tiering Appliance
VMware Tanzu Application Service for VMs
Isolation Segment
Dell Secure Connect Gateway
VMware Tanzu Operations Manager
EMC ViPR SRM
Dell EMC Storage Monitoring and Reporting (SMR)
Dell EMC VxRail Appliance
vim-tiny (Ubuntu package)
vim (Ubuntu package)
xxd (Ubuntu package)
vim-athena (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-nox (Ubuntu package)
vim
gvim
vim-data-common
vim-data
vim-small-debuginfo
vim-small
vim-debugsource
vim-debuginfo
gvim-debuginfo
app-editors/vim-core
app-editors/gvim
app-editors/vim

How to mitigate CVE-2022-0128

Install updates from vendor's website.

Vim - update to 8.2.4009
macOS - addressed in versions 10.15.7 19H2026, 11.6.6 20G624, 12.3 21E230
VMware Tanzu Operations Manager - update to 3.0.14
EMC ViPR SRM - update to 4.9.0.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
Watson CP4D Data Stores - update to 5.0.3
Dell Secure Connect Gateway - update to 5.14.00.16
Dell EMC VxRail Appliance - addressed in versions 7.0.372, 8.0.000
vim-tiny (Ubuntu package) - update to 2:8.2.3995-1ubuntu2.9
vim (Ubuntu package) - update to 2:8.2.3995-1ubuntu2.9
xxd (Ubuntu package) - update to 2:8.2.3995-1ubuntu2.9
vim-athena (Ubuntu package) - update to 2:8.2.3995-1ubuntu2.9
vim-gtk3 (Ubuntu package) - update to 2:8.2.3995-1ubuntu2.9
vim-nox (Ubuntu package) - update to 2:8.2.3995-1ubuntu2.9
vim - addressed in versions 8.2.4198-1.fc34, 8.2.4198-1.fc35, 8.2.4232-1.fc34, 8.2.4232-1.fc35
gvim - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-data-common - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-data - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-small-debuginfo - update to 8.2.5038-150000.5.21.1
vim-small - update to 8.2.5038-150000.5.21.1
vim-debugsource - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-debuginfo - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
gvim-debuginfo - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
app-editors/vim-core - update to 9.0.0060
app-editors/gvim - update to 9.0.0060
app-editors/vim - update to 9.0.0060
vim - update to 9.0.1160-1.1
EMC Cloud Tiering Appliance - update to 13.1.0.2.29

External References

Related Security Bulletins