CVE-2021-31616
Last modified
CVE-2021-31616 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 2.50% chance of exploitation in the next 30 days.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shapeshift | Keepkey Firmware | >= 7.0.3, < 7.1.0 |
References
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/Exploit, Patch, Third Party Advisory
- https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836Patch, Third Party Advisory
- https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0Release Notes, Third Party Advisory
- https://blog.inhq.net/posts/keepkey-CVE-2021-31616/Exploit, Patch, Third Party Advisory
- https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836Patch, Third Party Advisory
- https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31616?
How severe is CVE-2021-31616?
How do I fix CVE-2021-31616?
Are you affected by CVE-2021-31616?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
