CVE-2017-17806
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)…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.56%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.56% probability · 45th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- linux/linux kernel · debian/debian linux · opensuse/leap · opensuse project/leap · suse/linux enterprise desktop · suse/linux enterprise server · suse/linux enterprise server for raspberry pi · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1Patch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.htmlIssue Tracking, Third Party Advisory
- http://www.securityfocus.com/bid/102293Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:2948Third Party Advisory
- https://github.com/torvalds/linux/commit/af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1Patch
- https://lists.debian.org/debian-lts-announce/2018/01/msg00004.htmlThird Party Advisory
- https://usn.ubuntu.com/3583-1/Third Party Advisory
- https://usn.ubuntu.com/3583-2/Third Party Advisory
- https://usn.ubuntu.com/3617-1/Third Party Advisory
- https://usn.ubuntu.com/3617-2/Third Party Advisory
- https://usn.ubuntu.com/3617-3/Third Party Advisory
- https://usn.ubuntu.com/3619-1/Third Party Advisory
- https://usn.ubuntu.com/3619-2/Third Party Advisory
- https://usn.ubuntu.com/3632-1/Third Party Advisory
- https://www.debian.org/security/2017/dsa-4073Third Party Advisory
- https://www.debian.org/security/2018/dsa-4082Third Party Advisory
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8Issue Tracking, Release Notes
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1Patch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.htmlIssue Tracking, Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.htmlIssue Tracking, Third Party Advisory
- http://www.securityfocus.com/bid/102293Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:2948Third Party Advisory
- https://github.com/torvalds/linux/commit/af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.