CVE-2020-24388

high

Description

An issue was discovered in the _send_secure_msg() function of yubihsm-shell through 2.0.2. The function does not validate the embedded length field of a message received from the device. This could lead to an oversized memcpy() call that will crash the running process. This could be used by an attacker to cause a denial of service.

References

https://www.yubico.com/support/security-advisories/ysa-2020-06/

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/

https://github.com/Yubico/yubihsm-shell

https://developers.yubico.com/yubihsm-shell/

https://blog.inhq.net/posts/yubico-libyubihsm-vuln/

Details

Source: Mitre, NVD

Published: 2020-10-19

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High