{"cve":"CVE-2021-27217","nvd":{"published":"2021-03-04T18:15:14.050","modified":"2026-06-17T03:44:29.127","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.4},"cwes":["CWE-125"],"references":["https://blog.inhq.net/posts/yubico-libyubihsm-vuln2","https://github.com/Yubico/yubihsm-shell/releases","https://www.yubico.com/support/security-advisories/ysa-2021-01/","https://blog.inhq.net/posts/yubico-libyubihsm-vuln2","https://github.com/Yubico/yubihsm-shell/releases"],"products":["yubico:yubihsm-shell"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-27217","score":0.01595,"percentile":0.75724,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}