ADVISORIES

GitHub Advisory Database

GHSA-3w84-4mjc-rjw7

IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication

Details

io.finnet tss-lib before 2.0.0 can leak a secret key via a timing side-channel attack because it relies on the scalar-multiplication implementation in Go crypto/elliptic, which is not constant time (there is an if statement in a loop). One leak is in ecdsa/keygen/round_2.go. (bnb-chain/tss-lib and thorchain/tss are also affected.)

Affected packages

EcosystemPackageAffected versions
Gogithub.com/bnb-chain/tss-lib
All versions before 2.0.0 (fixed in 2.0.0)
Gogithub.com/binance-chain/tss-lib
All versions before 2.0.0 (fixed in 2.0.0)

References