CVE-2023-26556 IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication
CriticalCVSS 9.1
EPSS 0.86%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
Description
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.)
Upgrade path
3 packages: 2 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| binance-chain github.com/binance-chain/tss-lib(Go) | < 2.0.0; All versions | 2.0.0 | Partially fixed |
| bnb-chain github.com/bnb-chain/tss-lib(Go) | < 1.3.6-0.20230324145555-bb6fb30bd3eb; < 2.0.0 | 1.3.6-0.20230324145555-bb6fb30bd3eb, 2.0.0 | 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) | < 2.0.0 | 2.0.0 |
| binance-chain github.com/binance-chain/tss-lib(Go) | < 2.0.0 | 2.0.0 |
| 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) | 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
- github.com release-notes
- github.com product
- github.com
- github.com product
- gitlab.com release-notes
- medium.com vendor-advisory
- pkg.go.dev
- github.com
- medium.com