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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
References
- https://github.com/Yubico/yubihsm-shell ↗
- https://developers.yubico.com/yubihsm-shell/ ↗
- https://www.yubico.com/support/security-advisories/ysa-2020-06/ ↗
- https://blog.inhq.net/posts/yubico-libyubihsm-vuln/ ↗
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/ ↗