CVE-2017-17806

HIGHCVSS 7.8/10EPSS 0.56%

Last modified

CVE-2017-17806 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.56% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
0.56%

42.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
LinuxLinux Kernel< 3.2.97
LinuxLinux Kernel>= 3.3, < 3.16.52
LinuxLinux Kernel>= 3.17, < 3.18.89
LinuxLinux Kernel>= 3.19, < 4.1.49
LinuxLinux Kernel>= 4.2, < 4.4.107
LinuxLinux Kernel>= 4.5, < 4.9.71
LinuxLinux Kernel>= 4.10, < 4.14.8
DebianDebian Linux8.0
DebianDebian Linux9.0
OpensuseLeap42.2
Opensuse ProjectLeap42.3
SuseLinux Enterprise Desktop12Sp2
SuseLinux Enterprise Server11Extra
SuseLinux Enterprise Server12Sp2
SuseLinux Enterprise Server For Raspberry Pi12Sp2
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux17.10

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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) 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.
How severe is CVE-2017-17806?
CVE-2017-17806 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.56% probability of exploitation in the next 30 days.
How do I fix CVE-2017-17806?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-17806?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST