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.
{ "versions": [ { "introduced": "0" }, { "last_affected": "8.0.1187" } ] }
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-1000382.json"