Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2021-31616 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ | CVE | ExploitPatchThird Party Advisory |
| https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836 | CVE | PatchThird Party Advisory |
| https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 | CVE | Release NotesThird Party Advisory |
| https://shapeshift.com/library/keepkey-important-update-issued-april-4-required | CVE | Vendor Advisory |
| https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ | [email protected] | ExploitPatchThird Party Advisory |
| https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836 | [email protected] | PatchThird Party Advisory |
| https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 | [email protected] | Release NotesThird Party Advisory |
| https://shapeshift.com/library/keepkey-important-update-issued-april-4-required | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| shapeshift keepkey firmware | >= 7.0.3, < 7.1.0 |
CPE
Remediation
| |
| shapeshift keepkey | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 3, 2022 | CWE Remap | [email protected] |
| May 17, 2021 | Initial Analysis | [email protected] |
| May 6, 2021 | CVE Modified | [email protected] |