vim: Sets the group ownership of a .swp file to the editor's primary group
Published Dec 1, 2017
5.5
MEDIUMCVSS 3.1
EPSS 0.36%
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.
Affected products
No data.
Configuration 2
- 8.0
- 9.0
Configuration 3
- 16.04
- 18.04
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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 (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.36% (0.00355) | 26.93th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.36% (0.00355) | 29.26th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.89% (0.00888) | 25.41th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (11)
- http://openwall.com/lists/oss-security/2017/11/27/2 x_refsource_MISCMailing List
- http://security.cucumberlinux.com/security/details.php?id=166 x_refsource_MISCIssue TrackingThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-17087 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1524485 Issue Tracking
- https://github.com/vim/vim/commit/5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8 x_refsource_MISCPatchThird Party Advisory
- https://groups.google.com/d/msg/vim_dev/sRT9BtjLWMk/BRtSXNU4BwAJ x_refsource_MISCIssue TrackingMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/08/msg00003.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/01/msg00003.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-17087
- https://usn.ubuntu.com/4582-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-17087
Change history (0)
No recorded changes yet.