CVE-2017-17087: canonical ubuntu_linux Exposure of Resource to Wrong Sphere
Vulnerability summary
CVE-2017-17087 is a medium (CVSS 5.5) Exposure of Resource to Wrong Sphere vulnerability in canonical ubuntu_linux. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 4Timeline
- 01-12-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 3 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.37%
Chance of exploitation in the next 30 days
Percentile
29%
Versus all other CVEs
30-day change
+0.01 pp
From 0.36% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- vim< 2:8.0.1401-1
- debian_linuxEOL8.0 | 9.0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04
Ubuntu1 product
- vim< 2:7.4.052-1ubuntu3.1+esm4 | < 2:7.4.1689-3ubuntu1.5
Vim1 product
- vim< 8.0.1263
4 vendors · 5 products
References
12 links- groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJX Refsource MISCIssue TrackingMailing ListThird Party AdvisoryREPORT
- security.cucumberlinux.com/security/details.php?id=166X Refsource MISCIssue TrackingThird Party AdvisoryREPORT
- github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8X Refsource MISCPatchThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/08/msg00003.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/01/msg00003.htmlMailing ListX Refsource MLISTThird Party Advisory