Advisory

GHSA-3w84-4mjc-rjw7

Also known as: CVE-2023-26556, GO-2023-1732

Summary

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

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-04-21 18:30 UTC
Modified
2025-02-05 20:26 UTC

Affected packages and fixes

github.com/bnb-chain/tss-lib

Go · All systems

Affected

  • introduced 0, fixed 2.0.0 (semver)

Fixed versions

2.0.0

Fix

github.com/binance-chain/tss-lib

Go · All systems

Affected

  • introduced 0, fixed 2.0.0 (semver)

Fixed versions

2.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences