CVE-2017-17806
HIGH EPSS 42.5%
Published Dec 20, 20178y ago · Modified Jun 17, 20262w ago
7.8 CVSS 3.1
Published Dec 20, 2017 8y ago
Last Modified Jun 17, 2026 2w ago
Description
The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
42.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 22
| Vendor | Product | Version | Range |
|---|---|---|---|
| linux | linux_kernel | * | <3.2.97 |
| linux | linux_kernel | * | ≥3.3 – <3.16.52 |
| linux | linux_kernel | * | ≥3.17 – <3.18.89 |
| linux | linux_kernel | * | ≥3.19 – <4.1.49 |
| linux | linux_kernel | * | ≥4.2 – <4.4.107 |
| linux | linux_kernel | * | ≥4.5 – <4.9.71 |
| linux | linux_kernel | * | ≥4.10 – <4.14.8 |
| debian | debian_linux | 8.0 | any |
| debian | debian_linux | 9.0 | any |
| opensuse | leap | 42.2 | any |
| opensuse_project | leap | 42.3 | any |
| suse | linux_enterprise_desktop | 12 | any |
| suse | linux_enterprise_desktop | 12 | any |
| suse | linux_enterprise_server | 11 | any |
| suse | linux_enterprise_server | 11 | any |
| suse | linux_enterprise_server | 12 | any |
| suse | linux_enterprise_server | 12 | any |
| suse | linux_enterprise_server_for_raspberry_pi | 12 | any |
| canonical | ubuntu_linux | 12.04 | any |
| canonical | ubuntu_linux | 14.04 | any |
| canonical | ubuntu_linux | 16.04 | any |
| canonical | ubuntu_linux | 17.10 | any |
References 21
- git.kernel.org http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html
- securityfocus.com http://www.securityfocus.com/bid/102293
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2948
- github.com https://github.com/torvalds/linux/commit/af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html
- usn.ubuntu.com https://usn.ubuntu.com/3583-1/
- usn.ubuntu.com https://usn.ubuntu.com/3583-2/
- usn.ubuntu.com https://usn.ubuntu.com/3617-1/
- usn.ubuntu.com https://usn.ubuntu.com/3617-2/
- usn.ubuntu.com https://usn.ubuntu.com/3617-3/
- usn.ubuntu.com https://usn.ubuntu.com/3619-1/
- usn.ubuntu.com https://usn.ubuntu.com/3619-2/
- usn.ubuntu.com https://usn.ubuntu.com/3632-1/
- debian.org https://www.debian.org/security/2017/dsa-4073
- debian.org https://www.debian.org/security/2018/dsa-4082
- kernel.org https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8
Remediation
- git.kernel.org http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html
- github.com https://github.com/torvalds/linux/commit/af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1