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.
References
Link | Resource |
---|---|
https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836 | Patch Third Party Advisory |
https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 | Release Notes Third Party Advisory |
https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ | Exploit Patch Third Party Advisory |
https://shapeshift.com/library/keepkey-important-update-issued-april-4-required | Vendor Advisory |
Configurations
Configuration 1 (hide)
AND |
|
Information
Published : 2021-05-06 06:15
Updated : 2022-05-03 09:04
NVD link : CVE-2021-31616
Mitre link : CVE-2021-31616
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
shapeshift
- keepkey_firmware
- keepkey