{"id":"CVE-2020-24387","aliases":["CVE-2020-24387"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in the yhcreatesession() function of yubihsm-shell through 2.0.2.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en la función yh_create_session() de yubihsm-shell versiones hasta 2.0.2.&#xa0;La función no comprueba explícitamente el ID de sesión devuelto por el dispositivo.&#xa0;Un id de sesión no válido conllevaría a operaciones de lectura y escritura fuera de límites en la matriz de sesión.&#xa0;Esto podría ser usado por un atacante para causar un ataque de denegación de servicio","source":"nvd"}],"published":"2020-10-19T19:39:23.000Z","modified":"2026-06-17T03:05:28.617Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"2.0.2"}],"vendor":"yubico","product":"yubihsm-shell","cpe":"cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Yubico/yubihsm-shell","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://developers.yubico.com/yubihsm-shell/","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.yubico.com/support/security-advisories/ysa-2020-06/","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://blog.inhq.net/posts/yubico-libyubihsm-vuln/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/","tags":["vendor-advisory","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-24387","url":"https://www.cve.org/CVERecord?id=CVE-2020-24387","licence":"CVE Terms of Use","modified":"2024-08-04T15:12:08.557Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-24387","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-24387","licence":"Public domain","modified":"2026-06-17T03:05:28.617Z"}],"updatedAt":"2026-11-25T22:57:55.299Z","epss":{"score":0.01755,"percentile":0.78424,"date":"2026-11-30T12:00:22.000Z"}}