CVE-2023-26556
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
github.com/bnb-chain/tss-lib (Go)before 2.0.0, before 1.3.6-0.20230324145555-bb6fb30bd3ebGitHub Advisory Database, Go Vulnerability Database
github.com/binance-chain/tss-lib (Go)before 2.0.0, all versionsGitHub Advisory Database, Go Vulnerability Database
iofinnet tss-libbefore 2.0.0NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-203

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

SourceRecordLicence
CVE ListCVE-2023-26556 changed 2025-02-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-3w84-4mjc-rjw7 changed 2025-02-05CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1732 changed 2025-02-05CC-BY-4.0
NVDCVE-2023-26556 changed 2026-06-17Public domain