CVE-2017-17806: Buffer Overflow
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 AFALG-based hash interface (CONFIGCRYPTOUSERAPIHASH) and the SHA-3 hash algorithm (CONFIGCRYPTOSHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 4.14.8 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 3.13.0-142.191 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-lts-xenialto a version that resolves this vulnerability.Fixed in 4.4.0-119.143~14.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 4.4.0-119.143 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 4.4.0-1054.63 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 4.13.0-1014.17 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 4.13.0-1012.16 - Upgrade
Upgrade
ubuntu/linux-hweto a version that resolves this vulnerability.Fixed in 4.13.0-41.46~16.04.1 - Upgrade
Upgrade
ubuntu/linux-kvmto a version that resolves this vulnerability.Fixed in 4.4.0-1020.25 - Upgrade
Upgrade
ubuntu/linux-oemto a version that resolves this vulnerability.Fixed in 4.13.0-1022.24 - Upgrade
Upgrade
ubuntu/linux-raspi2to a version that resolves this vulnerability.Fixed in 4.4.0-1086.94 - Upgrade
Upgrade
ubuntu/linux-snapdragonto a version that resolves this vulnerability.Fixed in 4.4.0-1088.93 - Upgrade
Upgrade
ubuntu/linux-fipsto a version that resolves this vulnerability.Fixed in 4.4.0-1008.10 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 3.2.96-3Fixed in 3.16.51-3+deb8u1Fixed in 4.9.65-3+deb9u1Fixed in 4.14.7-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 4.14.8
Event History
Frequently Asked Questions
What is the severity of CVE-2017-17806?
CVE-2017-17806 is a high-severity vulnerability due to improper validation in the HMAC implementation of the Linux kernel.
How do I fix CVE-2017-17806?
To fix CVE-2017-17806, upgrade to Linux kernel version 4.14.8 or later.
Which versions of Linux are affected by CVE-2017-17806?
CVE-2017-17806 affects Linux kernel versions prior to 4.14.8, including multiple versions within the range of 3.2 to 4.14.7.
Can CVE-2017-17806 be exploited remotely?
No, CVE-2017-17806 requires local access for exploitation due to its nature of attacking the HMAC implementation.
What systems should I prioritize for CVE-2017-17806 patching?
Systems running Linux kernels prior to version 4.14.8, especially those in sensitive environments, should be prioritized for patching against CVE-2017-17806.