CVE-2021-27217
Dashboard / Vulnerabilities / CVE-2021-27217
CVE-2021-27217
Published: 4 Mar 2021Last Modified: 9 Jul 2026
Summary:
Details: 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.
References: https://github.com/Yubico/yubihsm-shell/releases, https://www.yubico.com/support/security-advisories/ysa-2021-01/, https://blog.inhq.net/posts/yubico-libyubihsm-vuln2
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
Introduced- 0
Fixed -None
Affected versions
2.0.3
2.0.2
2.0.1
2.0.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
