{"id":"CVE-2020-24388","details":"An issue was discovered in the _send_secure_msg() function of yubihsm-shell through 2.0.2. The function does not validate the embedded length field of a message received from the device. This could lead to an oversized memcpy() call that will crash the running process. This could be used by an attacker to cause a denial of service.","modified":"2026-03-14T02:05:43.071085Z","published":"2020-10-19T20:15:12.993Z","references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/"},{"type":"ADVISORY","url":"https://developers.yubico.com/yubihsm-shell/"},{"type":"ADVISORY","url":"https://github.com/Yubico/yubihsm-shell"},{"type":"ADVISORY","url":"https://www.yubico.com/support/security-advisories/ysa-2020-06/"},{"type":"EVIDENCE","url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yubico/yubihsm-shell","events":[{"introduced":"0"},{"last_affected":"8ada38bdcaa032c0747487fcd72eb7c5267369d1"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.0.2"}]}}],"versions":["2.0.0","2.0.1","2.0.2"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24388.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}