CVE-2017-17087

Summary

CVECVE-2017-17087
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-12-01 08:29:00 UTC
Updated2022-02-20 05:58:00 UTC
Descriptionfileio.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.

Risk And Classification

Problem Types: CWE-668

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Vim Vim All All All All
Application Vim Vim All All All All

References

ReferenceSourceLinkTags
oss-security - Re: Re: Security risk of server side text editing ... MISC openwall.com Mailing List
patch 8.0.1263: others can read the swap file if a user is careless · vim/vim@5a73e0c · GitHub MISC github.com Patch
Google Groups MISC groups.google.com Mailing List
[SECURITY] [DLA 1871-1] vim security update MLIST lists.debian.org
[SECURITY] [DLA 2876-1] vim security update MLIST lists.debian.org
USN-4582-1: Vim vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
CLD-166 Details MISC security.cucumberlinux.com Issue Tracking, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178990 Debian Security Update for vim (DLA 2876-1)
  • 198571 Ubuntu Security Notification for Vim Vulnerabilities (USN-5147-1)
  • 752246 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:2102-1)
  • 753066 SUSE Enterprise Linux Security Update for vim (SUSE-SU-2022:4619-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report