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
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
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
- Denial of service in Vim
- Multiple vulnerabilities in Apple macOS Monterey
- Multiple vulnerabilities in Apple macOS Big Sur
- SUSE update for vim
- Multiple vulnerabilities in macOS Catalina
- Gentoo update for Vim, gVim
- Multiple vulnerabilities in Dell VxRail
- SUSE update for vim
- Multiple vulnerabilities in Dell VxRail Appliance components
- Multiple vulnerabilities in Dell Secure Connect Gateway
- Multiple vulnerabilities in Dell Cloud Tiering Appliance
- SUSE update for vim
- SUSE update for vim
- Multiple vulnerabilities in Dell EMC SRM and Dell EMC Storage Monitoring and Reporting (SMR)
- Multiple vulnerabilities in Dell Unity, Dell UnityVSA, and Dell Unity XT
- Multiple vulnerabilities in Dell Data Protection Central
- Fedora 35 update for vim
- Fedora 34 update for vim