Medium severity · published Mar 4, 2021
CVE-2021-27217
An issue was discovered in the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3
4.4
CVSS
1.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
High
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.6% · higher than 76% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YU
Yubihsm-shell · Yubico
through 2.0.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-27217
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-27217
Exploit
https://blog.inhq.net/posts/yubico-libyubihsm-vuln2
Release Notes
https://github.com/Yubico/yubihsm-shell/releases
Vendor Advisory
https://www.yubico.com/support/security-advisories/ysa-2021-01/
More from Yubihsm-shell
7.5
CVE-2020-24388
An issue was discovered in the _send_secure_msg() function of yubihsm-shell through 2.0.2
7.5
CVE-2020-24387
An issue was discovered in the yh_create_session() function of yubihsm-shell through 2.0.2
4.4
CVE-2021-32489
An issue was discovered in the _send_secure_msg() function of Yubico yubihsm-shell through 2.0.3
