logo

CVE-2023-26557 github.com/bnb-chain/tss-lib

Package

Manager: go
Name: github.com/bnb-chain/tss-lib
Vulnerable Version: >=0 <1.3.6-0.20230324145555-bb6fb30bd3eb

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00112 pctl0.30401

Details

IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic 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.)

Metadata

Created: 2023-04-21T18:30:24Z
Modified: 2025-02-05T19:43:31Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-mjqv-xhgm-gx8c/GHSA-mjqv-xhgm-gx8c.json
CWE IDs: ["CWE-203"]
Alternative ID: GHSA-mjqv-xhgm-gx8c
Finding: F026
Auto approve: 1