Key management errors in Botan - CVE-2018-20187
Published: March 8, 2019 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
A side-channel issue was discovered in Botan before 2.9.0. An attacker capable of precisely measuring the time taken for ECC key generation may be able to derive information about the high bits of the secret key, as the function to derive the public point from the secret scalar uses an unblinded Montgomery ladder whose loop iteration count depends on the bitlength of the secret. This issue affects only key generation, not ECDSA signatures or ECDH key agreement.
Affected software
botan (Alpine package)
botan2
Fedora
How to mitigate CVE-2018-20187
botan (Alpine package) - update to 2.9.0-r0
botan2 - update to 2.9.0-1.fc29