CVE-2023-26557 IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic
HighCVSS 7.5
EPSS 0.86%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.)
Upgrade path
3 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| binance-chain github.com/binance-chain/tss-lib(Go) | < 1.3.6-0.20230324145555-bb6fb30bd3eb; All versions | 1.3.6-0.20230324145555-bb6fb30bd3eb | Partially fixed |
| bnb-chain github.com/bnb-chain/tss-lib(Go) | < 1.3.6-0.20230324145555-bb6fb30bd3eb | 1.3.6-0.20230324145555-bb6fb30bd3eb | Fixed |
| iofinnet tss-lib | < 2.0.0 | 2.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| bnb-chain github.com/bnb-chain/tss-lib(Go) | < 1.3.6-0.20230324145555-bb6fb30bd3eb | 1.3.6-0.20230324145555-bb6fb30bd3eb |
| binance-chain github.com/binance-chain/tss-lib(Go) | < 1.3.6-0.20230324145555-bb6fb30bd3eb | 1.3.6-0.20230324145555-bb6fb30bd3eb |
| binance-chain github.com/binance-chain/tss-lib(Go) | All versions | No fix listed |
| iofinnet tss-lib | < 2.0.0 | 2.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com release-notes
- github.com product
- github.com product
- gitlab.com release-notes
- medium.com vendor-advisory
- pkg.go.dev
- github.com
- medium.com