CVE-2021-31616
Shapeshift Keepkey Firmware vulnerability
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 products
Keepkey Firmware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Shapeshift Keepkey Firmware runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- shapeshift.com/library/keepkey-important-update-issued-april-4-required · Vendor Advisory
- blog.inhq.net/posts/keepkey-CVE-2021-31616/ · Exploit
- github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836 · Patch
- github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-31616
- cve.org/CVERecord?id=CVE-2021-31616
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.