CVE-2017-17087
Last modified
CVE-2017-17087 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | < 8.0.1263 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
References
- http://security.cucumberlinux.com/security/details.php?id=166Issue Tracking, Third Party Advisory
- https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8Patch, Third Party Advisory
- https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJIssue Tracking, Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00003.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00003.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4582-1/Third Party Advisory
- http://security.cucumberlinux.com/security/details.php?id=166Issue Tracking, Third Party Advisory
- https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8Patch, Third Party Advisory
- https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJIssue Tracking, Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00003.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00003.htmlMailing List, Third Party Advisory
- https://usn.ubuntu.com/4582-1/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-17087?
How severe is CVE-2017-17087?
How do I fix CVE-2017-17087?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-17081The gmc_mmx function in libavcodec/x86/mpegvideodsp.c in FFm…
- CVE-2017-17082Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-17083In Wireshark 2.4.0 to 2.4.2 and 2.2.0 to 2.2.10, the NetBIOS…
- CVE-2017-17084In Wireshark 2.4.0 to 2.4.2 and 2.2.0 to 2.2.10, the IWARP_M…
- CVE-2017-17085In Wireshark 2.4.0 to 2.4.2 and 2.2.0 to 2.2.10, the CIP Saf…
- CVE-2017-17086Indeo Otter through 1.7.4 mishandles a "</script>" substring…
- CVE-2017-17088The Enterprise version of SyncBreeze 10.2.12 and earlier is …
- CVE-2017-17089custom/run.cgi in Webmin before 1.870 allows remote authenti…
- CVE-2017-17090An issue was discovered in chan_skinny.c in Asterisk Open So…
- CVE-2017-17091wp-admin/user-new.php in WordPress before 4.9.1 sets the new…
- CVE-2017-17092wp-includes/functions.php in WordPress before 4.9.1 does not…
- CVE-2017-17093wp-includes/general-template.php in WordPress before 4.9.1 d…
Are you affected by CVE-2017-17087?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
