IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic
High severity
GitHub Reviewed
Published
Apr 21, 2023
to the GitHub Advisory Database
•
Updated Feb 5, 2025
Description
Published by the National Vulnerability Database
Apr 21, 2023
Published to the GitHub Advisory Database
Apr 21, 2023
Reviewed
Feb 5, 2025
Last updated
Feb 5, 2025
io.finnet tss-lib before 2.0.0 can leak the lambda value of a private key 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. An example leak is in crypto/paillier/paillier.go. (bnb-chain/tss-lib and thorchain/tss are also affected.)
References