Timing Attack Affecting github.com/bnb-chain/tss-lib package, versions <2.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.13% (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-GOLANG-GITHUBCOMBNBCHAINTSSLIB-5457872
  • published23 Apr 2023
  • disclosed23 Apr 2023
  • creditio.finnet

Introduced: 23 Apr 2023

CVE-2023-26557  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade github.com/bnb-chain/tss-lib to version 2.0.0 or higher.

Overview

github.com/bnb-chain/tss-lib is a threshold signature scheme, for ECDSA and EDDSA.

Affected versions of this package are vulnerable to Timing Attack. The lambda value of a private key can be leaked via a timing side-channel attack because it relies on Go big.Int, which is not constant time for Cmp, modular exponentiation, or modular inverse.

CVSS Scores

version 3.1