Current Description
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:
MITRE
Description Last Modified:
12/01/2017
View Analysis Description
Analysis Description
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:
MITRE
Description Last Modified:
12/01/2017
Impact
CVSS v3.0 Severity and Metrics:
Base Score:
5.5 MEDIUM
Vector:
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
(V3 legend)
Impact Score:
3.6
Exploitability Score:
1.8
Attack Vector (AV):
Local
Attack Complexity (AC):
Low
Privileges Required (PR):
Low
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
None
Availability (A):
None
CVSS v2.0 Severity and Metrics:
Base Score:
2.1 LOW
Vector:
(AV:L/AC:L/Au:N/C:P/I:N/A:N)
(V2 legend)
Impact Subscore:
2.9
Exploitability Subscore:
3.9
Access Vector (AV):
Local
Access Complexity (AC):
Low
Authentication (AU):
None
Confidentiality (C):
Partial
Integrity (I):
None
Availability (A):
None
Additional Information:
Allows unauthorized disclosure of information
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because
they may have information that would be of interest to you. No inferences should be drawn on account of other sites
being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose.
NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further,
NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about
this page to nvd@nist.gov.
Technical Details
Vulnerability Type
(View All)
- Information Leak / Disclosure (CWE-200)
Change History
1 change record found
- show changes
Initial Analysis -
12/20/2017 1:03:31 PM
| Action |
Type |
Old Value |
New Value |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* versions up to (excluding) 8.0.1263 |
| Added |
CVSS V2 |
|
(AV:L/AC:L/Au:N/C:P/I:N/A:N) |
| Added |
CVSS V3 |
|
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Added |
CWE |
|
CWE-200 |
| Changed |
Reference Type |
http://openwall.com/lists/oss-security/2017/11/27/2 No Types Assigned |
http://openwall.com/lists/oss-security/2017/11/27/2 Mailing List |
| Changed |
Reference Type |
http://security.cucumberlinux.com/security/details.php?id=166 No Types Assigned |
http://security.cucumberlinux.com/security/details.php?id=166 Issue Tracking, Third Party Advisory |
| Changed |
Reference Type |
https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 No Types Assigned |
https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 Patch |
| Changed |
Reference Type |
https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ No Types Assigned |
https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ Mailing List |