CVE-2021-27217 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.inhq.net/posts/yubico-libyubihsm-vuln2 | CVE | ExploitThird Party Advisory |
| https://github.com/Yubico/yubihsm-shell/releases | CVE | Release NotesThird Party Advisory |
| https://www.yubico.com/support/security-advisories/ysa-2021-01/ | CVE | Vendor Advisory |
| https://blog.inhq.net/posts/yubico-libyubihsm-vuln2 | [email protected] | ExploitThird Party Advisory |
| https://github.com/Yubico/yubihsm-shell/releases | [email protected] | Release NotesThird Party Advisory |
| https://www.yubico.com/support/security-advisories/ysa-2021-01/ | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yubico yubihsm-shell | <= 2.0.3 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 26, 2021 | Modified Analysis | [email protected] |
| Mar 16, 2021 | CVE Modified | [email protected] |
| Mar 15, 2021 | Reanalysis | [email protected] |
| Mar 12, 2021 | Initial Analysis | [email protected] |