CVE-2017-17806: Linux Kernel - Buffer Overflow
- Cve: CVE-2017-17806
- Name: Linux Kernel - Buffer Overflow
- 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.
- Impact: Local attackers can cause kernel stack overflow, potentially leading to privilege escalation or kernel crash.
- Remediation: Update to Linux kernel 4.14.8 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: privilege_escalation, denial_of_service
- Requirement type: logged_in
- Requirements: Attacker needs local access and to use AF_ALG interface with SHA-3 hash
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00557
- Epss percentile: 0.47297
- Assignee: [email protected]
- Published at: 2017-12-20T23:29:00Z
- Age in days: 3261
- Modified at: 2026-06-17T01:11:41Z
- Patch available: yes
- References total: 21
- Products total: 8
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-17806
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| linux:linux_kernel | >= 4.10, < 4.14.8; >= 4.5, < 4.9.71; >= 4.2, < 4.4.107; >= 3.19, < 4.1.49; >= 3.17, < 3.18.89; >= 3.3, < 3.16.52; < 3.2.97 | /v1/products/linux/linux_kernel |
| debian:debian_linux | = 9.0, = 8.0 | /v1/products/debian/debian_linux |
| canonical:ubuntu_linux | = 17.10, = 16.04, = 14.04, = 12.04 | /v1/products/canonical/ubuntu_linux |
| opensuse:leap | = 42.2 | /v1/products/opensuse/leap |
| suse:linux_enterprise_server | = 12 sp2, = 12 sp3, = 11 extra, = 11 sp4 | /v1/products/suse/linux_enterprise_server |
| suse:linux_enterprise_desktop | = 12 sp2, = 12 sp3 | /v1/products/suse/linux_enterprise_desktop |
| opensuse_project:leap | = 42.3 | /v1/products/opensuse_project/leap |
| suse:linux_enterprise_server_for_raspberry_pi | = 12 sp2 | /v1/products/suse/linux_enterprise_server_for_raspberry_pi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 21216412
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports