9.1critical
IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-3w84-4mjc-rjw7GO-2023-1732
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.)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/bnb-chain/tss-lib (Go) | before 2.0.0, before 1.3.6-0.20230324145555-bb6fb30bd3eb | GitHub Advisory Database, Go Vulnerability Database |
| github.com/binance-chain/tss-lib (Go) | before 2.0.0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| iofinnet tss-lib | before 2.0.0 | NVD |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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.)
Go Vulnerability Database
Timing attack from non-constant time scalar multiplication in github.com/bnb-chain/tss-lib.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26556 changed 2025-02-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3w84-4mjc-rjw7 changed 2025-02-05 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-1732 changed 2025-02-05 | CC-BY-4.0 |
| NVD | CVE-2023-26556 changed 2026-06-17 | Public domain |