CVE-2017-17087

MEDIUM
5.5
CVSS Score
Published: December 1, 2017 at 08:00 AM UTC
Updated: June 17, 2026 at 01:10 AM UTC
3 products affected across 3 vendorsDebian LinuxUbuntu LinuxVim

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 8.0.1263
Affected range stops below 8.0.1263, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (7)

x_refsource_MISCIssue TrackingThird Party Advisory
http://security.cucumberlinux.com/security/details.php?id=166
x_refsource_MISCIssue TrackingMailing ListThird Party Advisory
https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html
Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html
Vendor Advisoryx_refsource_UBUNTUThird Party Advisory
https://usn.ubuntu.com/4582-1/

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-668

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card