{ "id": "CVE-2021-31616", "sourceIdentifier": "cve@mitre.org", "published": "2021-05-06T13:15:12.693", "lastModified": "2022-05-03T16:04:40.443", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "Unas comprobaciones insuficiente de longitud en el firmware ShapeShift KeepKey versiones anteriores a 7.1.0, permiten un desbordamiento del b\u00fafer de la pila por medio de mensajes dise\u00f1ados. El desbordamiento en la funci\u00f3n ethereum_extractThorchainSwapData() en el archivo ethereum.c puede omitir las protecciones de la pila y conllevar a una ejecuci\u00f3n de c\u00f3digo. La interfaz vulnerable es accesible de forma remota por medio de WebUSB" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-787" } ] } ], "configurations": [ { "operator": "AND", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:shapeshift:keepkey_firmware:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.3", "versionEndExcluding": "7.1.0", "matchCriteriaId": "BD9316A0-067E-435A-8186-4F8D828D67F4" } ] }, { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": false, "criteria": "cpe:2.3:h:shapeshift:keepkey:-:*:*:*:*:*:*:*", "matchCriteriaId": "663CE48F-F657-40AA-8954-EADA31C9DFB1" } ] } ] } ], "references": [ { "url": "https://blog.inhq.net/posts/keepkey-CVE-2021-31616/", "source": "cve@mitre.org", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/keepkey/keepkey-firmware/commit/e49d45594002d4d3fbc1f03488e6dfc0a0a65836", "source": "cve@mitre.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/keepkey/keepkey-firmware/releases/tag/v7.1.0", "source": "cve@mitre.org", "tags": [ "Release Notes", "Third Party Advisory" ] }, { "url": "https://shapeshift.com/library/keepkey-important-update-issued-april-4-required", "source": "cve@mitre.org", "tags": [ "Vendor Advisory" ] } ] }