Out-of-bounds write in yubihsm-shell and YubiHSM2 SDK - CVE-2021-43399
Published: December 8, 2021
Vulnerability details
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.
Affected software
YubiHSM2 SDK
How to mitigate CVE-2021-43399
YubiHSM2 SDK - update to 2021.12