{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2021-03-16T16:27:17.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/Yubico/yubihsm-shell/releases"},{"tags":["x_refsource_CONFIRM"],"url":"https://www.yubico.com/support/security-advisories/ysa-2021-01/"},{"tags":["x_refsource_MISC"],"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln2"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-27217","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/Yubico/yubihsm-shell/releases","refsource":"MISC","url":"https://github.com/Yubico/yubihsm-shell/releases"},{"name":"https://www.yubico.com/support/security-advisories/ysa-2021-01/","refsource":"CONFIRM","url":"https://www.yubico.com/support/security-advisories/ysa-2021-01/"},{"name":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln2","refsource":"MISC","url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln2"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T20:40:47.490Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/Yubico/yubihsm-shell/releases"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://www.yubico.com/support/security-advisories/ysa-2021-01/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln2"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2021-27217","datePublished":"2021-03-04T17:45:33.000Z","dateReserved":"2021-02-15T00:00:00.000Z","dateUpdated":"2024-08-03T20:40:47.490Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}