NULL pointer dereference in Vim - CVE-2021-46059

 

NULL pointer dereference in Vim - CVE-2021-46059

Published: March 14, 2022


Vulnerability identifier: #VU61332
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-2021-46059
CWE-ID: CWE-476
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 NULL pointer dereference error within the vim_regexec_multi() function in regexp.c in Vim. A remote attacker can trick the victim to open a specially crafted file and perform a denial of service (DoS) attack.


Affected software

Vim
Dell EMC PowerProtect Data Protection
Dell Data Protection Central
EMC Cloud Tiering Appliance
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
macOS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Fedora
Dell EMC Storage Monitoring and Reporting (SMR)
EMC ViPR SRM
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)
Dell Secure Connect Gateway
Dell EMC VxRail Appliance
vim-small
vim-debugsource
vim-debuginfo
vim-small-debuginfo
vim-data-common
vim-data
vim
gvim-debuginfo
gvim
app-editors/vim-core
app-editors/vim
app-editors/gvim

How to mitigate CVE-2021-46059

Install updates from vendor's website.

Vim - update to 8.2.3883
macOS - addressed in versions 10.15.7 19H2026, 11.6.6 20G624, 12.3 21E230
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.9.0.0
EMC ViPR SRM - update to 4.9.0.0
Dell EMC Unity VSA Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity XT Operating Environment (OE) - update to 5.2.0.0.5.173
Dell EMC Unity Operating Environment (OE) - update to 5.2.0.0.5.173
Dell Secure Connect Gateway - update to 5.14.00.16
Dell EMC VxRail Appliance - addressed in versions 7.0.372, 8.0.000
vim-small - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1
vim-debugsource - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-debuginfo - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-small-debuginfo - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1
vim-data-common - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim-data - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
gvim-debuginfo - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
gvim - addressed in versions 8.0.1568-5.17.1, 8.2.5038-150000.5.21.1, 9.0.0814-17.9.1
vim - addressed in versions 8.2.4068-1.fc34, 8.2.4068-1.fc35
app-editors/vim-core - update to 9.0.0060
app-editors/vim - update to 9.0.0060
app-editors/gvim - update to 9.0.0060
EMC Cloud Tiering Appliance - update to 13.1.0.2.29

External References

Related Security Bulletins