Ubuntu Security Notice USN-4582-1
October 14, 2020

vim vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS


Several security issues were fixed in Vim.

Software Description:
- vim: Vi IMproved - enhanced vi editor


It was discovered that Vim incorrectly handled permissions on the .swp
file. A local attacker could possibly use this issue to obtain sensitive
information. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-17087)

It was discovered that Vim incorrectly handled restricted mode. A local
attacker could possibly use this issue to bypass restricted mode and
execute arbitrary commands. Note: This update only makes executing shell
commands more difficult. Restricted mode should not be considered a
complete security measure. (CVE-2019-20807)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 18.04 LTS:
  vim                             2:8.0.1453-1ubuntu1.4
  vim-common                      2:8.0.1453-1ubuntu1.4
  vim-runtime                     2:8.0.1453-1ubuntu1.4

Ubuntu 16.04 LTS:
  vim                             2:7.4.1689-3ubuntu1.5
  vim-common                      2:7.4.1689-3ubuntu1.5
  vim-runtime                     2:7.4.1689-3ubuntu1.5

In general, a standard system update will make all the necessary changes.

  CVE-2017-17087, CVE-2019-20807

Package Information: