kernel: Missing permissions check for request_key() destination allows local attackers to add keys to keyring without Write permission
Published Dec 20, 2017
3.3
LOWCVSS 3.0
EPSS 0.44%
Description
The KEYS subsystem in the Linux kernel before 4.14.6 omitted an access-control check when adding a key to the current task's "default request-key keyring" via the request_key() system call, allowing a local user to use a sequence of crafted system calls to add keys to a keyring with only Search permission (not Write permission) to that keyring, related to construct_get_dest_keyring() in security/keys/request_key.c.
Affected products
No data.
- < 4.14.6
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-1127.el7
Fixed · RHSA-2020:1016
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-1127.rt56.1093.el7
Fixed · RHSA-2020:1070
Red Hat Enterprise Linux 5
kernel
Will not fix
Red Hat Enterprise Linux 6
kernel
Affected
Red Hat Enterprise Linux 7
kernel-alt
Affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise MRG 2
realtime-kernel
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-1127.el7 | Fixed | RHSA-2020:1016 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-1127.rt56.1093.el7 | Fixed | RHSA-2020:1070 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | realtime-kernel | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5. This is not currently planned to be addressed in future updates of the product due to its life cycle. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 6, 7, its real-time kernel, Red Hat Enterprise MRG 2, Red Hat Enterprise Linux 7 for ARM 64 and Red Hat Enterprise Linux 7 for Power 9 LE. Future Linux kernel updates for the respective releases may address this issue.
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:N/I:L/A:N
AV:L/AC:L/Au:N/C:N/I:P/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 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.44% (0.00437) | 35.70th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.42% (0.00420) | 33.32th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00052) | 13.41th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 11.89th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.04% (0.00044) | 10.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.77% (0.01769) | 35.01th | v1 |
| Jan 6, 2022 | 1.77% (0.01769) | 34.31th | v1 |
| Sep 1, 2021 | 1.77% (0.01769) | 74.20th | v1 |
| Apr 14, 2021 | 1.77% (0.01769) | 0.00th | v1 |
References (19)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4dca6ea1d9432052afb06baf2e3ae78188a4410b x_refsource_CONFIRMIssue TrackingPatch
- http://www.securityfocus.com/bid/102301 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2017-17807 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1528335 Issue Tracking
- https://github.com/torvalds/linux/commit/4dca6ea1d9432052afb06baf2e3ae78188a4410b x_refsource_CONFIRMIssue TrackingPatch
- https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-17807
- https://usn.ubuntu.com/3617-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3617-2/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3617-3/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3619-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3619-2/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3620-1/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3620-2/ vendor-advisoryx_refsource_UBUNTU
- https://usn.ubuntu.com/3632-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-17807
- https://www.debian.org/security/2017/dsa-4073 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.debian.org/security/2018/dsa-4082 vendor-advisoryx_refsource_DEBIAN
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.6 x_refsource_CONFIRMIssue TrackingMailing ListRelease Notes
Change history (0)
No recorded changes yet.