GitHub Advisoryadvisory · Go

GHSA-3w84-4mjc-rjw7 IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication

CRITICAL Published 2023-04-21 Modified 2025-02-05 Official page ↗
Aliases
CVE-2023-26556
Ecosystem
Go
Packages
github.com/bnb-chain/tss-lib, github.com/binance-chain/tss-lib
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-203
Reviewed
2025-02-05

Affected packages

• Go github.com/bnb-chain/tss-lib: < 2.0.0 → fixed in 2.0.0 • Go github.com/binance-chain/tss-lib: < 2.0.0 → fixed in 2.0.0

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.)

Related

Alias · CVE (1)

  • CVE-2023-26556 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… vulnerability

Weakness · CWE (1)

  • CWE-203 Observable Discrepancy weakness

References