Information Exposure Affecting vim package, versions <2:8.0.1401-1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-VIM-314737
- published 1 Dec 2017
- disclosed 1 Dec 2017
Introduced: 1 Dec 2017
CVE-2017-17087 Open this link in a new tabHow to fix?
Upgrade Debian:unstable
vim
to version 2:8.0.1401-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream vim
package and not the vim
package as distributed by Debian
.
See How to fix?
for Debian:unstable
relevant fixed versions and status.
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
- https://security-tracker.debian.org/tracker/CVE-2017-17087
- https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html
- https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8
- http://security.cucumberlinux.com/security/details.php?id=166
- https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ
- http://openwall.com/lists/oss-security/2017/11/27/2
- https://usn.ubuntu.com/4582-1/
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-17087
- https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html