Advisory

GHSA-mjqv-xhgm-gx8c

Also known as: CVE-2023-26557, GO-2023-1733

Summary

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

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

github.com/bnb-chain/tss-lib

Go · All systems

Affected

  • introduced 0, fixed 1.3.6-0.20230324145555-bb6fb30bd3eb (semver)

Fixed versions

1.3.6-0.20230324145555-bb6fb30bd3eb

Fix

  • Fixed version 1.3.6-0.20230324145555-bb6fb30bd3eb
    go get github.com/bnb-chain/[email protected]

github.com/binance-chain/tss-lib

Go · All systems

Affected

  • introduced 0, fixed 1.3.6-0.20230324145555-bb6fb30bd3eb (semver)

Fixed versions

1.3.6-0.20230324145555-bb6fb30bd3eb

Fix

  • Fixed version 1.3.6-0.20230324145555-bb6fb30bd3eb
    go get github.com/binance-chain/[email protected]

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