High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-24388
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:06 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-24388
Complete source record
{
"id": "c8770a1f6cec9bf0af4edcec18f7e74be2a98ee8fca4bb328252546ce7ec3da0",
"url": "https://osv.dev/vulnerability/CVE-2020-24388",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-24388",
"summary": "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.",
"evidence": "osv:CVE-2020-24388",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-24388",
"aliases": [
"CVE-2020-24388"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/yubico/yubihsm-shell",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "8ada38bdcaa032c0747487fcd72eb7c5267369d1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.0.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.0.2",
"2.0.1",
"2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24388.json"
}
}
],
"modified": "2026-10-20T10:52:51.410761003Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y77KQJW76M3PFOBFLBT6DLH2NWHYRNZO/",
"https://developers.yubico.com/yubihsm-shell/",
"https://github.com/Yubico/yubihsm-shell",
"https://www.yubico.com/support/security-advisories/ysa-2020-06/",
"https://blog.inhq.net/posts/yubico-libyubihsm-vuln/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-24388",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 383958,
"published_at": "2020-10-19T20:15:12.993+00:00"
}