{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-27217","published":"2021-03-04T18:15:14.050000Z","last_modified":"2026-06-17T03:44:29.127000Z","status":"Modified","cvss":{"version":"3.1","score":4.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:*","part":"a","vendor":"yubico","product":"yubihsm-shell","version_end_including":"2.0.3"}],"cpes_truncated":false,"vendors":["yubico"],"products":["yubico/yubihsm-shell"],"epss":{"score":0.01614,"percentile":0.76398,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":27,"links":{"html_es":"/es/cve/CVE-2021-27217/","html_en":"/en/cve/CVE-2021-27217/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-27217","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-27217"},"untrusted":{"vendor_name":"Yubico","product_name":"Yubihsm-shell","desc_en":"An issue was discovered in the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3. The function does not correctly validate the embedded length field of an authenticated message received from the device. Out-of-bounds reads performed by aes_remove_padding() can crash the running process, depending on the memory layout. This could be used by an attacker to cause a client-side denial of service. The yubihsm-shell project is included in the YubiHSM 2 SDK product.","affected":[],"references":[{"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln2","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/Yubico/yubihsm-shell/releases","tags":["Release Notes","Third Party Advisory"]},{"url":"https://www.yubico.com/support/security-advisories/ysa-2021-01/","tags":["Vendor Advisory"]}]}}