GitHub Advisoryadvisory · Go
GHSA-mjqv-xhgm-gx8c IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic
HIGH
Official page ↗
- Aliases
- CVE-2023-26557
- Ecosystem
- Go
- Packages
- github.com/bnb-chain/tss-lib, github.com/binance-chain/tss-lib
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-203
- Reviewed
- 2025-02-05
Affected packages
• Go github.com/bnb-chain/tss-lib: < 1.3.6-0.20230324145555-bb6fb30bd3eb → fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb
• Go github.com/binance-chain/tss-lib: < 1.3.6-0.20230324145555-bb6fb30bd3eb → fixed in 1.3.6-0.20230324145555-bb6fb30bd3eb
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.)
Related
Alias · CVE (1)
- CVE-2023-26557 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,… vulnerability
Weakness · CWE (1)
- CWE-203 Observable Discrepancy weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26557 advisory
- https://github.com/IoFinnet/tss-lib/releases/tag/v2.0.0 web
- https://github.com/bnb-chain/tss-lib package
- https://github.com/bnb-chain/tss-lib/tree/v1.3.5 web
- https://gitlab.com/thorchain/tss/tss-lib/-/tags/v0.1.3 web
- https://medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b web
- https://pkg.go.dev/vuln/GO-2023-1733 web