{"id":"CVE-2020-24387","details":"An issue was discovered in the yh_create_session() function of yubihsm-shell through 2.0.2. The function does not explicitly check the returned session id from the device. An invalid session id would lead to out-of-bounds read and write operations in the session array. This could be used by an attacker to cause a denial of service attack.","modified":"2026-07-08T05:57:42.645865Z","published":"2020-10-19T20:15:12.947Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"33"},{"last_affected":"33"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"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":{"cpe":"cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.0.2"}],"source":"CPE_RANGE"}}],"versions":["2.0.2","2.0.1","2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24387.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"}]}