CVE-2017-1000382

MEDIUM

VIM < 8.0.1187 - Unintended File Permission Exposure via Swap File Creation

Title source: llm
STIX 2.1

Description

VIM version 8.0.1187 (and other versions most likely) ignores umask when creating a swap file ("[ORIGINAL_FILENAME].swp") resulting in files that may be world readable or otherwise accessible in ways not intended by the user running the vi binary.

References (2)

Core 2
Core References
Third Party Advisory x_refsource_confirm
http://security.cucumberlinux.com/security/details.php?id=120
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2017/10/31/1

Scores

CVSS v3 5.5
EPSS 0.0009
EPSS Percentile 25.8%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-200
Status published
Products (1)
vim/vim < 8.0.1187
Published Oct 31, 2017
Tracked Since Feb 18, 2026