CVE-2017-17807
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-17807
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-17807.html
Vendor advisory: cve@mitre.org — https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.6
Vendor advisory: cve@mitre.org — https://github.com/torvalds/linux/commit/4dca6ea1d9432052afb06baf2e3ae78188a4410b
Vendor advisory: cve@mitre.org — http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4dca6ea1d9432052afb06baf2e3ae78188a4410b
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 4.9.69-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 4.14.7-1 |
| debian | bullseye | fixed | 4.14.7-1 |
| debian | forky | fixed | 4.14.7-1 |
| debian | sid | fixed | 4.14.7-1 |
| debian | trixie | fixed | 4.14.7-1 |
| linux-kernel | affected | 4.14.6 |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4dca6ea1d9432052afb06baf2e3ae78188a4410b
- http://www.securityfocus.com/bid/102301
- https://github.com/torvalds/linux/commit/4dca6ea1d9432052afb06baf2e3ae78188a4410b
- https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html
- https://usn.ubuntu.com/3617-1/
- https://usn.ubuntu.com/3617-2/
- https://usn.ubuntu.com/3617-3/
- https://usn.ubuntu.com/3619-1/
- https://usn.ubuntu.com/3619-2/
- https://usn.ubuntu.com/3620-1/
- https://usn.ubuntu.com/3620-2/
- https://usn.ubuntu.com/3632-1/
- https://www.debian.org/security/2017/dsa-4073
- https://www.debian.org/security/2018/dsa-4082
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.6
- https://www.suse.com/security/cve/CVE-2017-17807.html
- https://security-tracker.debian.org/tracker/CVE-2017-17807
CWEs
CWE-862
Verify integrity in audit chain (admin only). AS-IS.