Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Shapeshift | Keepkey Firmware | >= 7.0.3, < 7.1.0 |
| Shapeshift | Keepkey | - |
Related Weaknesses (CWE)
References
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ExploitPatchThird Party Advisory
- https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dPatchThird Party Advisory
- https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0Release NotesThird Party Advisory
- https://shapeshift.com/library/keepkey-important-update-issued-april-4-requiredVendor Advisory
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ExploitPatchThird Party Advisory
- https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dPatchThird Party Advisory
- https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0Release NotesThird Party Advisory
- https://shapeshift.com/library/keepkey-important-update-issued-april-4-requiredVendor Advisory
FAQ
What is CVE-2021-31616?
CVE-2021-31616 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 et...
How severe is CVE-2021-31616?
CVE-2021-31616 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-31616?
Check the references section above for vendor advisories and patch information. Affected products include: Shapeshift Keepkey Firmware, Shapeshift Keepkey.