NULL pointer dereference in Vim - CVE-2021-3236
Published: August 31, 2023
Vulnerability identifier: #VU80202
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-3236
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 ex_buffer_all() function. A remote attacker can trick the victim to open a specially crafted file and crash the application.
Affected software
Vim
Amazon Linux AMI
vim
Amazon Linux AMI
vim
How to mitigate CVE-2021-3236
Install update from vendor's website.
Vim - update to 8.2.2354
vim - update to 9.0.1712-1.82
vim - update to 9.0.1712-1.82