First published: Fri Dec 01 2017(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
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 | |
debian/vim | 2:8.2.2434-3+deb11u1 2:9.0.1378-2 2:9.1.0709-2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-17087 is a vulnerability in Vim prior to version 8.0.1263 that allows local users to obtain sensitive information.
The severity of CVE-2017-17087 is medium, with a severity value of 5.5.
CVE-2017-17087 affects Vim versions prior to 8.0.1263.
To fix CVE-2017-17087, update Vim to version 8.0.1263 or higher.
Yes, you can find references for CVE-2017-17087 at the following links: [1](http://openwall.com/lists/oss-security/2017/11/27/2), [2](http://security.cucumberlinux.com/security/details.php?id=166), [3](https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8).