NetSight
medium5.5

CVE-2017-17087

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…

Impact

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.

Affected products

VendorProductAffected versions
VimVim
before 8.0.1263
DebianDebian Linux
Versions 8.0, 9.0
CanonicalUbuntu Linux
Versions 16.04, 18.04

Weakness classification

References