8.8high
Insufficient length checks in the ShapeShift KeepKey hardware wallet firmware before 7.1.0 allow a stack buffer overflow via crafted messag…
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 2.50% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| shapeshift keepkey_firmware | from 7.0.3 before 7.1.0 | NVD |
All scores
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Unas comprobaciones insuficiente de longitud en el firmware ShapeShift KeepKey versiones anteriores a 7.1.0, permiten un desbordamiento del búfer de la pila por medio de mensajes diseñados. El desbordamiento en la función ethereum_extractThorchainSwapData() en el archivo ethereum.c puede omitir las protecciones de la pila y conllevar a una ejecución de código. La interfaz vulnerable es accesible de forma remota por medio de WebUSB
References
| https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0 | release-notes, third-party-advisory | |
| https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836 | patch, third-party-advisory | |
| https://blog.inhq.net/posts/keepkey-CVE-2021-31616/ | exploit, patch, third-party-advisory | |
| https://shapeshift.com/library/keepkey-important-update-issued-april-4-required | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31616 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-31616 changed 2026-06-17 | Public domain |