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 ownersh...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSvim |
< 2:7.4.052-1ubuntu3.1+esm4→ 2:7.4.052-1ubuntu3.1+esm4 |
2:7.4.052-1ubuntu3.1+esm4 |
| Ubuntu:16.04:LTSvim |
< 2:7.4.1689-3ubuntu1.5→ 2:7.4.1689-3ubuntu1.5 |
2:7.4.1689-3ubuntu1.5 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report openwall.com
- report security.cucumberlinux.com
- report groups.google.com
- report cve.org