CVE-2017-17087

Published: 01 December 2017

fileio.c in Vim prior to 8.0.1263 sets the group ownership of a .swp file to the editor's primary group (which may be different from the group ownership of the original file), which allows local users to obtain sensitive information by leveraging an applicable group membership, as demonstrated by /etc/shadow owned by root:shadow mode 0640, but /etc/.shadow.swp owned by root:users mode 0640, a different vulnerability than CVE-2017-1000382.

Priority

Low

CVSS 3 base score: 5.5

Status

Package Release Status
vim
Launchpad, Ubuntu, Debian
Upstream
Released (2:8.0.1401-1)
Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(2:8.0.1453-1ubuntu1)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(2:8.0.1453-1ubuntu1)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(2:8.0.1453-1ubuntu1)
Ubuntu 16.04 LTS (Xenial Xerus)
Released (2:7.4.1689-3ubuntu1.5)
Ubuntu 14.04 ESM (Trusty Tahr) Needed

Ubuntu 12.04 ESM (Precise Pangolin) Needed

Patches:
Upstream: https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8