Buffer overflow in Shapeshift Keepkey

CVE-2021-31616

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.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.025 (84.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-31616: held from 0.025 to 0.025.

EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-31616?
CVE-2021-31616 is a high-severity vulnerability in Shapeshift Keepkey, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2021-05-06.
How severe is CVE-2021-31616?
High severity. CVSS v3 base score is 8.8 out of 10.