CVE-2017-17087

medium
Published 2017-12-01 ยท Modified 2026-05-13
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.5

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.

Predictions

Exploit likelihood
55%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debian8.0affected
debian debian9.0affected
ubuntu ubuntu16.04affected
ubuntu ubuntu18.04affected
debian debianbookwormfixed2:8.0.1401-1
debian debianbullseyefixed2:8.0.1401-1
debian debianforkyfixed2:8.0.1401-1
debian debiansidfixed2:8.0.1401-1
debian debiantrixiefixed2:8.0.1401-1

Application impact

VendorProductVersionsFixed
vimvim{"endExcluding":"8.0.1263"}8.0.1263

References

CWEs

CWE-668

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.