CVE-2020-24387 in Fedoraproject Fedora and 1 more product
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 de...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 33 |
| Yubico | Yubihsm-Shell | ≤ 2.0.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-24387 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-148652-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2020-10-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the yh_create_session() function of yubihsm-shell through version 2.0.2 allows for out-of-bounds read and write operations due to an unchecked session ID, potentially leading to a denial of service attack.
An attacker could exploit this vulnerability by providing an invalid session ID to the yh_create_session() function, which could result in unauthorized access to memory and system instability.
Questions
What is CVE-2020-24387?
A vulnerability in the yh_create_session() function of yubihsm-shell through version 2.0.2 allows for out-of-bounds read and write operations due to an unchecked session ID, potentially leading to a denial of service attack.
What is the CVSS score for CVE-2020-24387?
CVE-2020-24387 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.8%.
Is CVE-2020-24387 actively exploited?
No confirmed active exploitation of CVE-2020-24387 as of 2026-09-25.
How do I remediate CVE-2020-24387?
Priority: HIGH. Advisory: https://developers.yubico.com/yubihsm-shell/ PSIRT: [email protected]
What systems are affected by CVE-2020-24387?
CVE-2020-24387 affects Fedoraproject Fedora; Yubico Yubihsm-Shell.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.