Out-of-bounds write in YubiHSM2 SDK and yubihsm-shell - CVE-2021-43399
Published: December 8, 2021
YubiHSM2 SDK
yubihsm-shell
Yubico
Description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error in the yh_com_sign_ssh_certificate() function of libyubihsm in YubiHSM 2 SDK. A local user can pass specially crafted input via the ‘certify’ command to yubihsm-shell or via the “-a sign-ssh-certificate” command-line flag and crash the running process.