CVE-2022-2817: Use After Free in vim/vim
Last updated 24 July 2024
Other sources
Use After Free in GitHub repository vim/vim prior to 9.0.0213.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.0.1378-2+deb12u2Fixed in 2:9.1.1230-2Fixed in 2:9.1.1230-2+deb13u1Fixed in 2:9.2.0858-1 - Upgrade
Upgrade
alpine/vimto a version that resolves this vulnerability.Fixed in 9.0.0224-r0 - Upgrade
Upgrade
debian/vimto a version that resolves this vulnerability.Fixed in 2:9.0.0229-1 - Upgrade
Upgrade
vim/vimto a version that resolves this vulnerability.Fixed in 9.0.0213
Event History
Frequently Asked Questions
What is CVE-2022-2817?
CVE-2022-2817 is a vulnerability in the GitHub repository vim/vim, prior to version 9.0.0213, that allows for a use after free vulnerability.
How severe is CVE-2022-2817?
CVE-2022-2817 has a severity rating of high.
What software is affected by CVE-2022-2817?
The affected software includes vim packages on Ubuntu (versions up to 2:8.2.3995-1ubuntu2.11 and 9.0.0213), as well as vim packages on Debian (versions up to 2:8.2.2434-3+deb11u1).
How can I fix CVE-2022-2817 on Ubuntu?
To fix CVE-2022-2817 on Ubuntu, update the vim package to version 2:8.2.3995-1ubuntu2.11 (for versions up to 2:8.2.3995-1ubuntu2.11) or version 9.0.0213 (for version 9.0.0213).
How can I fix CVE-2022-2817 on Debian?
To fix CVE-2022-2817 on Debian, update the vim package to a version higher than 2:8.2.2434-3+deb11u1 (including 2:8.1.0875-5+deb10u2, 2:8.1.0875-5+deb10u6, 2:9.0.1378-2, and 2:9.0.1894-1).