CVE-2017-17087

vim: Sets the group ownership of a .swp file to the editor's primary group

Published Dec 1, 2017 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1871-1 vim security update
Debian DLA Debian DLA DLA-2876-1 vim security update
EUVD EUVD EUVD-2017-8253 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.
Ubuntu USN Ubuntu USN USN-4582-1 Vim vulnerabilities
Ubuntu USN Ubuntu USN USN-5147-1 Vim vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 8:43 PM
Reserved
Dec 1, 2017, 12:00 AM
Status
Modified
Published
Dec 1, 2017, 8:29 AM
Modified
Jun 17, 2026, 1:10 AM
Severity
Low
Public date
Nov 4, 2017, 12:00 AM