Bug 1890203 (CVE-2020-24387) - CVE-2020-24387 yubihsm-shell: yh_create_session() does not explicitly check the returned session id could result in DoS
Summary: CVE-2020-24387 yubihsm-shell: yh_create_session() does not explicitly check ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-24387
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-21 16:52 UTC by Michael Kaplan
Modified: 2021-10-28 05:27 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-28 05:27:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Kaplan 2020-10-21 16:52:05 UTC
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:

https://blog.inhq.net/posts/yubico-libyubihsm-vuln/
https://developers.yubico.com/yubihsm-shell/
https://github.com/Yubico/yubihsm-shell
https://www.yubico.com/support/security-advisories/ysa-2020-06/


Note You need to log in before you can comment on or make changes to this bug.