CVE-2021-27217Yubico Yubihsm-shell
Medium 4.4
Follow: this CVE · Yubico · Yubico Yubihsm-shell We alert you by email or Slack (account required).
- Priority
- 27
- CVSS 3.1
- 4.4
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- Yes
- Published
- Mar 4, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Yubihsm-shell.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yubico | yubihsm-shell | ≤ 2.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- blog.inhq.net Exploit Third Party Advisory
- github.com Release Notes Third Party Advisory
- www.yubico.com Vendor Advisory