vim: Ignores umask when creating a swap file
Published Oct 31, 2017
5.5
MEDIUMCVSS 3.0
EPSS 0.38%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
vim
Will not fix
Red Hat Enterprise Linux 6
vim
Will not fix
Red Hat Enterprise Linux 7
vim
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | vim | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | vim | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | vim | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
AV:L/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.38% (0.00381) | 29.73th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.38% (0.00381) | 31.96th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00044) | 12.95th | v3 (v2023.03.01) |
| May 25, 2024 | 0.04% (0.00044) | 12.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 10.26th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (6)
- http://security.cucumberlinux.com/security/details.php?id=120 x_refsource_CONFIRMThird Party Advisory
- http://www.openwall.com/lists/oss-security/2017/10/31/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-1000382 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1508786 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000382
- https://www.cve.org/CVERecord?id=CVE-2017-1000382
| Link | Providers | Tags |
|---|---|---|
| http://security.cucumberlinux.com/security/details.php?id=120 | x_refsource_CONFIRMThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2017/10/31/1 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2017-1000382 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1508786 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-1000382 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-1000382 |
Change history (0)
No recorded changes yet.