Security readout for executives and security teams
Plain-English summary
A KeepKey hardware wallet running firmware before 7.1.0 could be compromised by malformed messages reaching its WebUSB interface. The reported impact is code execution on the device, which is serious for wallet integrity. Sources do not show confirmed active exploitation.
Executive priority
Treat this as high priority for any environment using KeepKey wallets. The affected asset protects cryptocurrency keys, and the reported impact is device-level code execution. Focus on rapid firmware verification and update completion rather than broad enterprise scanning.
Technical view
CVE-2021-31616 is an insufficient length check in ethereum_extractThorchainSwapData() in ethereum.c. Crafted messages can trigger a stack buffer overflow, reportedly bypass stack protections, and lead to code execution. The vulnerable interface is reachable remotely over WebUSB. Firmware before 7.1.0 is identified as affected.
Likely exposure
Organizations or users with ShapeShift KeepKey hardware wallets running firmware earlier than 7.1.0 are the relevant exposure group. Risk depends on whether the WebUSB interface can receive attacker-controlled messages.
Exploitation context
The public sources describe a crafted-message attack path and code execution impact. The CVE is not listed as KEV in the supplied bundle, and no cited source in the bundle confirms active exploitation in the wild.
Researcher notes
The core issue is a length-check failure before copying or parsing Thorchain swap data in Ethereum handling. The provided affected metadata is sparse, but the CVE description, release, commit, and advisory consistently point to KeepKey firmware before 7.1.0.
Mitigation direction
- Update KeepKey firmware to version 7.1.0 or later using vendor guidance.
- Review ShapeShift’s April 4 required update notice for user-facing instructions.
- Limit untrusted browser interactions with connected KeepKey devices until updated.
- Track vendor release notes for any additional recovery or hardening guidance.
Validation and detection
- Inventory KeepKey devices and record current firmware versions.
- Confirm no device remains on firmware earlier than 7.1.0.
- Verify update completion through the official KeepKey or ShapeShift workflow.
- Review wallet operational procedures involving WebUSB-connected browsers.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
Execution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-31616 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0CVE reference · x_refsource_MISC
- https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836CVE reference · x_refsource_MISC
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/CVE reference · x_refsource_MISC
- https://shapeshift.com/library/keepkey-important-update-issued-april-4-requiredCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
