CVE-2020-24388
publishedyubihsm-shell: _send_secure_msg() does not validate the embedded length field of a message which could result in DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- https://blog.inhq.net/posts/yubico-libyubihsm-vuln/
- https://developers.yubico.com/yubihsm-shell/
- https://github.com/Yubico/yubihsm-shell
- FEDORA-2020-8afd443d46 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/
- https://www.yubico.com/support/security-advisories/ysa-2020-06/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a054cbabdca1cf8f63c944238e092312f3ff16a1ea8b383533c072f7e5a9aade
- Ingested
- 23 Sep 2026, 07:49:35 UTC
- Source record
- Official CVE record