CVEvulnerability
CVE-2021-31616
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-05-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-787
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.
Affected configurations
• shapeshift keepkey firmware (>= 7.0.3 < 7.1.0)
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ Exploit, Patch, Third Party Advisory
- 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://shapeshift.com/library/keepkey-important-update-issued-april-4-required Vendor Advisory
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ Exploit, Patch, Third Party Advisory
- 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://shapeshift.com/library/keepkey-important-update-issued-april-4-required Vendor Advisory