Out-of-bounds Read in Yubico Yubihsm-Shell

CVE-2020-24387

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.

Vulnerability class: Buffer Overflow

EPSS: 0.018 (75.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-24387?
CVE-2020-24387 is a high-severity vulnerability in Yubico Yubihsm-Shell, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2020-10-19.
How severe is CVE-2020-24387?
High severity. CVSS v3 base score is 7.5 out of 10.