Skip to content
OpenAdvisories
Unscored CVE-2017-17087 EUVD-2017-8253GHSA-fmc8-f7rh-x4p9

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 gr…

Published Dec 1, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vim 2:8.0.1401-1 —
Debian 13 vim 2:8.0.1401-1 —
Debian 12 vim 2:8.0.1401-1 —
Debian 9 vim 2:8.0.0197-4+deb9u4 DLA-2876-1
Debian 8 vim 2:7.4.488-7+deb8u4 DLA-1871-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS vim 2:8.1.2269-1ubuntu5.4 USN-5147-1
Ubuntu 18.04 LTS vim 2:8.0.1453-1ubuntu1.4 USN-5147-1, USN-4582-1
Ubuntu 16.04 LTS vim 2:7.4.1689-3ubuntu1.5 USN-4582-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS vim 2:7.4.1689-3ubuntu1.5+esm3 USN-5147-1
Ubuntu Pro 14.04 LTS vim 2:7.4.052-1ubuntu3.1+esm4 USN-5147-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES 15 SP3 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES 15 SP2 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES 15 SP1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES 15 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP4 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP3 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES 12 SP2 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES for SAP 15 SP2 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES for SAP 15 SP1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES for SAP 15 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLES for SAP 12 SP5 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLES for SAP 12 SP4 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SLE Micro 5.2 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLE Micro 5.1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLE HPC 15 SP2 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLE HPC 15 SP1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SLE HPC 15 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SUSE OpenStack Cloud Crowbar 9 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SUSE OpenStack Cloud 9 vim 9.0.0814-17.9.1 SUSE-SU-2022:4619-1
SUSE Manager Server 4.1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SUSE Manager Retail Branch Server 4.1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SUSE Manager Proxy 4.1 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SUSE Enterprise Storage 7 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
SUSE Enterprise Storage 6 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1
openSUSE Leap 15.3 vim 8.2.5038-150000.5.21.1 SUSE-SU-2022:2102-1

Advisories 6

References