Description
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.
References (5)
Core 5
Core References
Third Party Advisory x_refsource_misc
https://github.com/Yubico/yubihsm-shell
Vendor Advisory x_refsource_misc
https://developers.yubico.com/yubihsm-shell/
Vendor Advisory x_refsource_misc
https://www.yubico.com/support/security-advisories/ysa-2020-06/
Exploit, Third Party Advisory x_refsource_misc
https://blog.inhq.net/posts/yubico-libyubihsm-vuln/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/
Scores
CVSS v3
7.5
EPSS
0.0079
EPSS Percentile
73.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
CWE-787
Status
published
Products (2)
fedoraproject/fedora
33
yubico/yubihsm-shell
< 2.0.2
Published
Oct 19, 2020
Tracked Since
Feb 18, 2026