USN-5801-1: Vim vulnerabilities
12 January 2023
Several security issues were fixed in Vim.
Releases
Packages
- vim - Vi IMproved - enhanced vi editor
Details
It was discovered that Vim makes illegal memory calls when pasting
brackets in Ex mode. An attacker could possibly use this to crash Vim,
access or modify memory, or execute arbitrary commands. This issue
affected only Ubuntu 20.04 and 22.04 (CVE-2022-0392)
It was discovered that Vim makes illegal memory calls when making
certain retab calls. An attacker could possibly use this to crash Vim,
access or modify memory, or execute arbitrary commands. (CVE-2022-0417)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.04
-
vim-athena
-
2:8.2.3995-1ubuntu2.3
-
vim-tiny
-
2:8.2.3995-1ubuntu2.3
-
vim-gtk
-
2:8.2.3995-1ubuntu2.3
-
vim
-
2:8.2.3995-1ubuntu2.3
-
xxd
-
2:8.2.3995-1ubuntu2.3
-
vim-gtk3
-
2:8.2.3995-1ubuntu2.3
-
vim-nox
-
2:8.2.3995-1ubuntu2.3
Ubuntu 20.04
-
vim-athena
-
2:8.1.2269-1ubuntu5.11
-
vim-tiny
-
2:8.1.2269-1ubuntu5.11
-
vim-gtk
-
2:8.1.2269-1ubuntu5.11
-
vim
-
2:8.1.2269-1ubuntu5.11
-
xxd
-
2:8.1.2269-1ubuntu5.11
-
vim-gtk3
-
2:8.1.2269-1ubuntu5.11
-
vim-nox
-
2:8.1.2269-1ubuntu5.11
Ubuntu 18.04
-
vim-gnome
-
2:8.0.1453-1ubuntu1.10
-
vim-athena
-
2:8.0.1453-1ubuntu1.10
-
vim-tiny
-
2:8.0.1453-1ubuntu1.10
-
vim-gtk
-
2:8.0.1453-1ubuntu1.10
-
vim
-
2:8.0.1453-1ubuntu1.10
-
xxd
-
2:8.0.1453-1ubuntu1.10
-
vim-gtk3
-
2:8.0.1453-1ubuntu1.10
-
vim-nox
-
2:8.0.1453-1ubuntu1.10
In general, a standard system update will make all the necessary changes.