Skip to content

← Public intelligence

Go package

github.com/binance-chain/tss-lib

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

4 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.1GoPublished

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

    CVE-2023-26556 · GHSA-3w84-4mjc-rjw7

    Affected
    • Go github.com/binance-chain/tss-lib < 2.0.0
    Fixed in
    2.0.0· Vendor fix available
    Issue
    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/round2.go. (bnb-chain/tss-lib and thorchain/tss are also affected.)

    Recommended action: Upgrade to 2.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.8GoPublished

    IO FinNet tss-lib vulnerable to replay attacks involving proofs

    CVE-2022-47930 · GHSA-c58h-qv6g-fw74

    Affected
    • Go github.com/binance-chain/tss-lib < 2.0.0
    Fixed in
    2.0.0· Vendor fix available
    Issue
    An issue was discovered in IO FinNet tss-lib before 2.0.0. The parameter ssid for defining a session id is not used through the MPC implementation, which makes replaying and spoofing of messages easier. In particular, the Schnorr proof of knowledge implemented in sch.go does not utilize a session id, context, or random nonce in the generation of the challenge. This could allow a malicious user or an eavesdropper to replay a valid proof sent in the past.

    Recommended action: Upgrade to 2.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 7.5GoPublished

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

    CVE-2023-26557 · GHSA-mjqv-xhgm-gx8c

    Affected
    • Go github.com/binance-chain/tss-lib < 1.3.6-0.20230324145555-bb6fb30bd3eb
    Fixed in
    1.3.6-0.20230324145555-bb6fb30bd3eb· Vendor fix available
    Issue
    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.)

    Recommended action: Upgrade to 1.3.6-0.20230324145555-bb6fb30bd3eb (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 7.2GoPublished

    Incorrect Default Permissions in Binance tss-lib

    CVE-2020-12118 · GHSA-399h-cmvp-qgx5

    Affected
    • Go github.com/binance-chain/tss-lib < 1.2.0
    Fixed in
    1.2.0· Vendor fix available
    Issue
    The keygen protocol implementation in Binance tss-lib before 1.2.0 allows attackers to generate crafted h1 and h2 parameters in order to compromise a signing round or obtain sensitive information from other parties. Specific Go Packages Affected github.com/binance-chain/tss-lib/ecdsa/keygen

    Recommended action: Upgrade to 1.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →