Heap-based buffer overflow in Vim - CVE-2022-0417
Published: February 22, 2022
Vulnerability identifier: #VU60779
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-2022-0417
CWE-ID: CWE-122
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 error. A remote attacker can trick the victim to open a specially crafted file and crash the application.
Affected software
Vim
Gentoo Linux
Amazon Linux AMI
openEuler
Ubuntu
Fedora
vim-nox (Ubuntu package)
xxd (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-tiny (Ubuntu package)
vim-athena (Ubuntu package)
vim (Ubuntu package)
vim-gtk (Ubuntu package)
vim-filesystem
vim-X11
vim-minimal
vim-debuginfo
vim-enhanced
vim-debugsource
vim-common
vim
app-editors/vim
app-editors/vim-core
app-editors/gvim
cflinuxfs3
Isolation Segment
VMware Tanzu Application Service for VMs
VMware Tanzu Operations Manager
Gentoo Linux
Amazon Linux AMI
openEuler
Ubuntu
Fedora
vim-nox (Ubuntu package)
xxd (Ubuntu package)
vim-gtk3 (Ubuntu package)
vim-tiny (Ubuntu package)
vim-athena (Ubuntu package)
vim (Ubuntu package)
vim-gtk (Ubuntu package)
vim-filesystem
vim-X11
vim-minimal
vim-debuginfo
vim-enhanced
vim-debugsource
vim-common
vim
app-editors/vim
app-editors/vim-core
app-editors/gvim
cflinuxfs3
Isolation Segment
VMware Tanzu Application Service for VMs
VMware Tanzu Operations Manager
How to mitigate CVE-2022-0417
Install updates from vendor's website.
Vim - update to 8.2.4245
vim-nox (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
xxd (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-gtk3 (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-tiny (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-athena (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-gtk (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-filesystem - update to 8.2-16
vim-X11 - update to 8.2-16
vim-minimal - update to 8.2-16
vim-debuginfo - update to 8.2-16
vim-enhanced - update to 8.2-16
vim-debugsource - update to 8.2-16
vim-common - update to 8.2-16
vim - update to 8.2-16
vim - addressed in versions 8.2.4314-1.fc34, 8.2.4314-1.fc35, 8.2.4386-1.fc34, 8.2.4428-1.fc34, 8.2.4460-1.fc34
vim - update to 9.0.1160-1.1
cflinuxfs3 - update to 0.351.0
Isolation Segment - addressed in versions 2.11.27, 2.12.17, 2.13.12, 3.0.7
VMware Tanzu Application Service for VMs - addressed in versions 2.11.33, 2.12.22, 2.13.15, 3.0.7
VMware Tanzu Operations Manager - update to 3.0.4
app-editors/vim - update to 9.0.0060
app-editors/vim-core - update to 9.0.0060
app-editors/gvim - update to 9.0.0060
vim-nox (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
xxd (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-gtk3 (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-tiny (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-athena (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-gtk (Ubuntu package) - addressed in versions 2:8.1.2269-1ubuntu5.11, 2:8.2.3995-1ubuntu2.3
vim-filesystem - update to 8.2-16
vim-X11 - update to 8.2-16
vim-minimal - update to 8.2-16
vim-debuginfo - update to 8.2-16
vim-enhanced - update to 8.2-16
vim-debugsource - update to 8.2-16
vim-common - update to 8.2-16
vim - update to 8.2-16
vim - addressed in versions 8.2.4314-1.fc34, 8.2.4314-1.fc35, 8.2.4386-1.fc34, 8.2.4428-1.fc34, 8.2.4460-1.fc34
vim - update to 9.0.1160-1.1
cflinuxfs3 - update to 0.351.0
Isolation Segment - addressed in versions 2.11.27, 2.12.17, 2.13.12, 3.0.7
VMware Tanzu Application Service for VMs - addressed in versions 2.11.33, 2.12.22, 2.13.15, 3.0.7
VMware Tanzu Operations Manager - update to 3.0.4
app-editors/vim - update to 9.0.0060
app-editors/vim-core - update to 9.0.0060
app-editors/gvim - update to 9.0.0060
External References
Related Security Bulletins
- Multiple vulnerabilities in Vim
- Amazon Linux AMI update for vim
- Gentoo update for Vim, gVim
- Ubuntu update for vim
- Multiple vulnerabilities in Cloud Foundry Foundation cflinuxfs3
- VMware Tanzu products update for Vim
- openEuler update for vim
- Amazon Linux AMI update for vim
- Fedora 35 update for vim
- Fedora 34 update for vim
- Fedora 34 update for vim
- Fedora 34 update for vim
- Fedora 34 update for vim