CVE-2017-17806
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products we track (2)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1 ↗
Additional information
- NVD record
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1Patch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00006.htmlPatch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.htmlPatch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00008.htmlPatch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00014.htmlPatch
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00016.htmlAdvisory
- http://www.securityfocus.com/bid/102293Advisory
- https://access.redhat.com/errata/RHSA-2018:2948Advisory