CVE-2021-31616Shapeshift Keepkey Firmware
High 8.8 No auth needed
Follow: this CVE · Shapeshift · Shapeshift Keepkey Firmware We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- May 6, 2021
- Updated
- Jun 17, 2026
- Category
- Firmware · Network appliance
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Keepkey Firmware.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shapeshift | keepkey_firmware | ≥ 7.0.3 < 7.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.inhq.net Exploit Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- shapeshift.com Vendor Advisory