Key Management Errors Affecting botan package, versions [,2.9.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-BOTAN-2370620
  • published26 Jan 2022
  • disclosed8 Mar 2019
  • creditUnknown

Introduced: 8 Mar 2019

CVE-2018-20187  (opens in a new tab)
CWE-320  (opens in a new tab)

How to fix?

Upgrade botan to version 2.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Key Management Errors. 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.

CVSS Scores

version 3.1