Vulnerabilities · 2017 · Vim
CVE-2017-17087
Vim vulnerability
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 products
Vim, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Vim runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 · Patch
- security.cucumberlinux.com/security/details.php?id=166 · Third Party Advisory
- groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/08/msg00003.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/01/msg00003.html · Third Party Advisory
- usn.ubuntu.com/4582-1/ · Third Party Advisory
- openwall.com/lists/oss-security/2017/11/27/2
- nvd.nist.gov/vuln/detail/CVE-2017-17087
- cve.org/CVERecord?id=CVE-2017-17087
More vulnerabilities in Vim products
CVE-2025-66476CVE-2025-55158CVE-2025-55157CVE-2025-53906CVE-2025-53905CVE-2025-29768CVE-2025-27423CVE-2025-26603All 205
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.