CVE-2017-17806
Vulnerability Summary
Timeline
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 Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 0.01%• Percentile: 3%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 17.10
- debian•debian_linux
8.0 | 9.0
- linux•linux_kernel
< 3.2.97 | ≥ 3.3, < 3.16.52 | ≥ 3.17, < 3.18.89 | ≥ 3.19, < 4.1.49 | ≥ 4.2, < 4.4.107 | ≥ 4.5, < 4.9.71 | ≥ 4.10, < 4.14.8
- opensuse_project•leap
42.3
- opensuse•leap
42.2
- suse•linux_enterprise_desktop
12:sp2 | 12:sp3
- suse•linux_enterprise_server
11:extra | 11:sp4 | 12:sp2 | 12:sp3
- suse•linux_enterprise_server_for_raspberry_pi
12:sp2
References (21)
- https://usn.ubuntu.com/3617-1/
- https://usn.ubuntu.com/3619-2/
- https://www.debian.org/security/2018/dsa-4082
- https://usn.ubuntu.com/3617-3/
- https://lists.debian.org/debian-lts-announce/2018/01/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.html
- https://usn.ubuntu.com/3583-2/
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html
- https://github.com/torvalds/linux/commit/af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
- https://usn.ubuntu.com/3632-1/
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.html
- http://www.securityfocus.com/bid/102293
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1
- https://access.redhat.com/errata/RHSA-2018:2948
- https://usn.ubuntu.com/3583-1/
- https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.8
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.html
- https://www.debian.org/security/2017/dsa-4073
- https://usn.ubuntu.com/3617-2/
- https://usn.ubuntu.com/3619-1/
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.html