PT-2017-15012 · Linux+3 · Linux Kernel+3
Published
2017-12-20
·
Updated
2023-01-19
·
CVE-2017-17806
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 4.14.8
Description
The HMAC implementation in the Linux kernel does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization. This issue affects systems that use the AF ALG-based hash interface and the SHA-3 hash algorithm.
Recommendations
For Linux kernel versions prior to 4.14.8, update to version 4.14.8 or later to resolve the issue. As a temporary workaround, consider disabling the use of the SHA-3 hash algorithm until a patch is available. Restrict access to the AF ALG-based hash interface to minimize the risk of exploitation. Avoid using the
CONFIG CRYPTO USER API HASH and CONFIG CRYPTO SHA3 configurations in the affected kernel versions until the issue is resolved.Fix
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Linux Kernel
Suse
Ubuntu