CVE-2023-26557
JSON

7.5high

IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic

Severity
7.5high 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-mjqv-xhgm-gx8cGO-2023-1733

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

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/bnb-chain/tss-lib (Go)before 1.3.6-0.20230324145555-bb6fb30bd3ebGitHub Advisory Database, Go Vulnerability Database
github.com/binance-chain/tss-lib (Go)before 1.3.6-0.20230324145555-bb6fb30bd3eb, all versionsGitHub Advisory Database, Go Vulnerability Database
iofinnet tss-libbefore 2.0.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-203

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

Go Vulnerability Database

Timing attack from non-constant time scalar arithmetic in github.com/bnb-chain/tss-lib.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-26557 changed 2025-02-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-mjqv-xhgm-gx8c changed 2025-02-05CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1733 changed 2025-02-05CC-BY-4.0
NVDCVE-2023-26557 changed 2026-06-17Public domain