Vulnerability in Vim
CVE-2017-17087
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 29.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Vim
- Canonical Ubuntu Linux — versions 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ (Mailing List, Third Party Advisory, Issue Tracking)
- openwall.com/lists/oss-security/2017/11/27/2 (Mailing List)
- security.cucumberlinux.com/security/details.php (Third Party Advisory, Issue Tracking)
- github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 (Patch, Third Party Advisory)
- [debian-lts-announce] 20190803 [SECURITY] [DLA 1871-1] vim security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4582-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20220110 [SECURITY] [DLA 2876-1] vim security update (mailing-list, Mailing List, Third Party Advisory)