Vulnerability · Published Apr 21, 2023 · Assigned by mitre
CVE-2023-26556
Critical 9.1
In plain English
A critical-severity security flaw in the github.com/binance-chain/tss-lib package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/binance-chain/tss-lib | 2.0.0 | GHSA-3w84-4mjc-rjw7 |
| Go | github.com/binance-chain/tss-lib | no fix listed | GO-2023-1732 |
| Go | github.com/bnb-chain/tss-lib | 2.0.0 | GHSA-3w84-4mjc-rjw7 |
| Go | github.com/bnb-chain/tss-lib | 1.3.6-0.20230324145555-bb6fb30bd3eb | GO-2023-1732 |
Affected products (as reported)
Weakness: CWE-203 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N