An issue was discovered in the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3. The function does not correctly validate the embedded length field of an authenticated message received from the device. Out-of-bounds reads performed by aes_remove_padding() can crash the running process, depending on the memory layout. This could be used by an attacker to cause a client-side denial of service. The yubihsm-shell project is included in the YubiHSM 2 SDK product.
Conclusion & alert: CVE-2021-27217 is rated Exploit Available (58.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.59%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.61% | 1.59% | +0.98% |
| 2 | 2025-03-30 | 0.72% | 0.61% | -0.10% |
| 3 | 2025-03-29 | — | 0.72% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.4 | 3.1 | MEDIUM |
|
0.7 | 3.6 | [email protected] |
| 3.5 | 2.0 | LOW |
|
6.8 | 2.9 | [email protected] |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| yubico | yubihsm-shell | <= 2.0.3 | cpe:2.3:a:yubico:yubihsm-shell:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://blog.inhq.net/posts/yubico-libyubihsm-vuln2 | Exploit Third Party Advisory |
| https://github.com/Yubico/yubihsm-shell/releases | Release Notes Third Party Advisory |
| https://www.yubico.com/support/security-advisories/ysa-2021-01/ | Vendor Advisory |