Skip to content
OpenAdvisories
High · 7.5 CVE-2023-26557 EUVD-2023-1438GHSA-mjqv-xhgm-gx8cGO-2023-1733

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

Published Apr 21, 2023 · Updated Feb 5, 2025 · Assigned by mitre

Description

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.)

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/binance-chain/tss-lib < 1.3.6-0.20230324145555-bb6fb30bd3eb 1.3.6-0.20230324145555-bb6fb30bd3eb GHSA-mjqv-xhgm-gx8c
Go github.com/binance-chain/tss-lib all versions — GO-2023-1733
Go github.com/bnb-chain/tss-lib < 1.3.6-0.20230324145555-bb6fb30bd3eb 1.3.6-0.20230324145555-bb6fb30bd3eb GHSA-mjqv-xhgm-gx8c

References