Buffer overflow in Shapeshift Keepkey Firmware
CVE-2021-31616
Insufficient length checks in the ShapeShift KeepKey hardware wallet firmware before 7.1.0 allow a stack buffer overflow via crafted messages. The overflow in ethereum_extractThorchainSwapData() in ethereum.c can circumvent stack protections and lead to code execution. The vulnerable interface is reachable remotely over WebUSB.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.025, 85.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 (Third Party Advisory, Release Notes)
- github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a6… (Patch, Third Party Advisory)
- blog.inhq.net/posts/keepkey-CVE-2021-31616/ (Exploit, Patch, Third Party Advisory)
- shapeshift.com/library/keepkey-important-update-issued-april-4-required (Vendor Advisory)