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.
References
Link | Resource |
---|---|
http://openwall.com/lists/oss-security/2017/11/27/2 | Mailing List |
http://security.cucumberlinux.com/security/details.php?id=166 | Issue Tracking Third Party Advisory |
https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 | Patch Third Party Advisory |
https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ | Issue Tracking Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html | Mailing List Third Party Advisory |
https://usn.ubuntu.com/4582-1/ | Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2017-12-01T08:00:00
Updated: 2022-01-10T23:06:12
Reserved: 2017-12-01T00:00:00
Link: CVE-2017-17087
JSON object: View
NVD Information
Status : Analyzed
Published: 2017-12-01T08:29:00.670
Modified: 2022-02-20T05:58:55.813
Link: CVE-2017-17087
JSON object: View
Redhat Information
No data.
CWE