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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://blog.inhq.net/posts/yubico-libyubihsm-vuln/Exploit, Third Party Advisory
- https://developers.yubico.com/yubihsm-shell/Vendor Advisory
- https://github.com/Yubico/yubihsm-shellThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/
- https://www.yubico.com/support/security-advisories/ysa-2020-06/Vendor Advisory
- https://blog.inhq.net/posts/yubico-libyubihsm-vuln/Exploit, Third Party Advisory
- https://developers.yubico.com/yubihsm-shell/Vendor Advisory
- https://github.com/Yubico/yubihsm-shellThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/
- https://www.yubico.com/support/security-advisories/ysa-2020-06/Vendor Advisory
Timeline
- Published
- Oct 19, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified