Out-of-bounds write in Vim - CVE-2022-1897
Published: June 20, 2022
Vulnerability details
The vulnerability allows a local attacker to execute arbitrary code on the system.
The vulnerability exists due to Illegal memory access and leads to an out-of-bounds write vulnerability in the vim_regsub_both() function. A local attacker can trick the victim into opening a specially crafted file, leading to a system crash or code execution.
Affected software
Cloud Pak for Security (CP4S)
IBM Qradar SIEM
Gentoo Linux
Amazon Linux AMI
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for x86_64
SUSE OpenStack Cloud
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
openEuler
Fedora
macOS
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
IBM Cloud Pak for Watson AIOps
EMC Cloud Tiering Appliance
Self Node Remediation Operator
OpenShift sandboxed containers
OpenShift Service Mesh
OpenShift Data Foundation (formerly OpenShift Container Storage)
OpenShift Virtualization
Migration Toolkit for Containers
Red Hat OpenShift Container Platform
Red Hat Advanced Cluster Management for Kubernetes
Ansible Automation Platform
Red Hat Advanced Cluster Security for Kubernetes
OpenShift Logging
Red Hat OpenShift distributed tracing (RHOSDT)
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
Dell Secure Connect Gateway
IBM Robotic Process Automation
Red Hat Virtualization Host
Red Hat Ceph Storage
vim (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
vim-gtk (Ubuntu package)
xxd (Ubuntu package)
vim-tiny (Ubuntu package)
vim (Ubuntu package)
vim-athena (Ubuntu package)
vim-nox (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-X11
vim-common
vim-enhanced
vim-minimal
vim-filesystem
vim-debuginfo
vim-debugsource
vim
vim-small
vim-small-debuginfo
vim-data
gvim-debuginfo
vim-data-common
gvim
app-editors/vim-core
app-editors/vim
app-editors/gvim
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
Dell EMC VxRail Appliance
How to mitigate CVE-2022-1897
Self Node Remediation Operator - update to 0.4.1
OpenShift sandboxed containers - update to 1.3.1
Migration Toolkit for Containers - update to 1.7.4
OpenShift Service Mesh - update to 2.2.2
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.3.12, 2.4.6, 2.5.2, 2.6.0
Red Hat Advanced Cluster Security for Kubernetes - update to 3.72
Red Hat OpenShift Container Platform - addressed in versions 4.11.1, 4.11.45, 4.13.0
OpenShift Logging - addressed in versions 5.3.11, 5.3.14, 5.4.5, 5.5.5
vim (Red Hat package) - addressed in versions 8.0.1763-19.el8_6.4, 8.2.2637-16.el9_0.3
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-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 (Ubuntu package) - addressed in versions Ubuntu Pro (Infra-only), 2:7.4.16893ubuntu1.5+esm10, 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-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
Cloud Pak for Security (CP4S) - update to 1.10.12.0
Red Hat OpenShift distributed tracing (RHOSDT) - update to 2.6.0
IBM Cloud Pak for Watson AIOps - update to 4.1.1
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.6.0
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
EMC ViPR SRM - update to 4.9.0.0
OpenShift Data Foundation (formerly OpenShift Container Storage) - update to 4.11.0
OpenShift Virtualization - addressed in versions 4.11.1, 4.12.0
Dell Secure Connect Gateway - update to 5.14.00.16
Dell EMC VxRail Appliance - addressed in versions 7.0.372, 8.0.000
IBM Qradar SIEM - addressed in versions 7.4.3 Fix Pack 8, 7.5.0 Update Pack 4
vim-X11 - update to 8.0.1763-19.0.1
vim-common - update to 8.0.1763-19.0.1
vim-enhanced - update to 8.0.1763-19.0.1
vim-minimal - update to 8.0.1763-19.0.1
vim-filesystem - update to 8.0.1763-19.0.1
vim-filesystem - update to 8.2-35
vim-enhanced - update to 8.2-35
vim-common - update to 8.2-35
vim-X11 - update to 8.2-35
vim-debuginfo - update to 8.2-35
vim-debugsource - update to 8.2-35
vim-minimal - update to 8.2-35
vim - update to 8.2-35
vim-small - update to 8.2.5038-150000.5.21.1
vim-small-debuginfo - update to 8.2.5038-150000.5.21.1
vim-data - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.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
vim-data-common - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
gvim - addressed in versions 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim - addressed in versions 8.2.5046-1.fc34, 8.2.5046-1.fc35, 8.2.5046-1.fc36, 8.2.5052-1.fc35
vim - addressed in versions 8.2.5172-1.1, 9.0.1160-1.1
app-editors/vim-core - addressed in versions 9.0.0060, 9.0.1157
app-editors/vim - addressed in versions 9.0.0060, 9.0.1157
app-editors/gvim - addressed in versions 9.0.0060, 9.0.1157
macOS - update to 13.0 22A380
EMC Cloud Tiering Appliance - update to 13.1.0.2.29
IBM Robotic Process Automation - update to 21.0.4
External References
Related Security Bulletins
- SUSE update for vim
- Ubuntu update for vim
- Red Hat Virtualization Host 8 update for vim
- Amazon Linux AMI update for vim
- Red Hat Enterprise Linux 9 update for vim
- Multiple vulnerabilities in Red Hat Ceph Storage 5.2
- Multiple vulnerabilities in Logging Subsystem for Red Hat OpenShift
- Gentoo update for Vim, gVim
- Multiple vulnerabilities in OpenShift Container Platform 4.11
- Multiple vulnerabilities in Red Hat OpenShift Data Foundation
- Multiple vulnerabilities in Red Hat Self Node Remediation Operator
- Multiple vulnerabilities in Red Hat Advanced Cluster Management 2.3
- Multiple vulnerabilities in Red Hat OpenShift Service Mesh 2.2
- Multiple vulnerabilities in Red Hat OpenShift Logging 5.4
- Multiple vulnerabilities in Openshift Logging 5.3
- Multiple vulnerabilities in Red Hat Advanced Cluster Management
- Multiple vulnerabilities in Migration Toolkit for Containers (MTC) 1.7
- Multiple vulnerabilities in Red Hat Advanced Cluster Management 2.5
- Multiple vulnerabilities in Dell VxRail
- Multiple vulnerabilities in Red Hat Advanced Cluster Management 2.4
- Multiple vulnerabilities in Red Hat Advanced Cluster Security for Kubernetes (RHACS)
- Multiple vulnerabilities in IBM Robotic Process Automation for Cloud Pak
- Multiple vulnerabilities in Red Hat OpenShift distributed tracing (RHOSDT)
- Multiple vulnerabilities in OpenShift sandboxed containers
- Multiple vulnerabilities in Apple macOS Ventura
- Multiple vulnerabilities in OpenShift Virtualization 4.11
- Multiple vulnerabilities in Openshift Logging 5.3
- Multiple vulnerabilities in OpenShift Logging 5.5
- Multiple vulnerabilities in IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
- SUSE update for vim
- Multiple vulnerabilities in Dell VxRail Appliance components
- Multiple vulnerabilities in OpenShift Virtualization 4.12
- Multiple vulnerabilities in Dell Secure Connect Gateway
- Multiple vulnerabilities in Dell Cloud Tiering Appliance
- Multiple vulnerabilities in IIBM QRadar SIEM
- Gentoo update for Vim, gVim
- Multiple vulnerabilities in OpenShift Container Platform 4.13
- Multiple vulnerabilities in IBM Cloud Pak for Security (CP4S)
- Multiple vulnerabilities in OpenShift Container Platform 4.11
- Multiple vulnerabilities in Dell EMC SRM and Dell EMC Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in Dell Data Protection Central
- Multiple vulnerabilities in Red Hat Ansible Automation Platform 2.4
- Ubuntu update for vim
- Multiple vulnerabilities in IBM Cloud Pak for Watson AIOps
- openEuler update for vim
- Amazon Linux AMI update for vim
- Fedora 36 update for vim
- Fedora 35 update for vim
- Fedora 34 update for vim
- Fedora 35 update for vim
- Anolis OS update for vim