CVE-2017-1000382 Information disclosure in n/a

Medium 5.5 Published Updated

Vim ignores umask when creating swap files, potentially exposing sensitive file contents to other local users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-1000382?

CVE-2017-1000382 is a medium-severity vulnerability in Vim Vim, published on 31 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-200

Which versions are affected by CVE-2017-1000382?

It affects 1 product.

Products include Vim Vim.

How do I fix CVE-2017-1000382?

Apply the vendor's patch.

Is CVE-2017-1000382 being exploited?

There is no known exploitation of CVE-2017-1000382 in the wild and no public exploit code.

All Vim Vim vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-1000382, GHSA-fc3h-fxv9-79gq.

Is CVE-2017-1000382 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free