cbcvebase.
CVE-2017-17087
published 2017-12-01

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…

PriorityP422medium5.5CVSS 3.1
AVLACLPRLUINSUCHINAN
EPSS
0.36%
27.8th percentile
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

16 ranges
VendorProductVersion rangeFixed in
canonicalubuntu_linux
canonicalubuntu_linux
debiandebian_linux
debiandebian_linux
debianvim< vim 2:8.0.1401-1 (bookworm)vim 2:8.0.1401-1 (bookworm)
vimvim< 8.0.12638.0.1263
vimvim>= 0 < 2:8.0.1401-12:8.0.1401-1
vimvim>= 0 < 2:8.0.1401-12:8.0.1401-1
vimvim>= 0 < 2:8.0.1401-12:8.0.1401-1
vimvim>= 0 < 2:8.0.1401-12:8.0.1401-1
vimvim>= 0 < 2:7.4.1689-3ubuntu1.52:7.4.1689-3ubuntu1.5
vimvim>= 0 < 2:8.0.1453-1ubuntu1.72:8.0.1453-1ubuntu1.7
vimvim>= 0 < 2:8.0.1453-1ubuntu1.42:8.0.1453-1ubuntu1.4
vimvim>= 0 < 2:8.1.2269-1ubuntu5.42:8.1.2269-1ubuntu5.4
vimvim>= 0 < 2:7.4.052-1ubuntu3.1+esm42:7.4.052-1ubuntu3.1+esm4
vimvim>= 0 < 2:7.4.1689-3ubuntu1.5+esm32:7.4.1689-3ubuntu1.5+esm3

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:P/I:N/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.