Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/bnb-chain/tss-lib
  4. ›
  5. CVE-2023-26556

CVE-2023-26556: IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication

April 21, 2023 (updated February 5, 2025)

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

References

  • github.com/IoFinnet/tss-lib/releases/tag/v2.0.0
  • github.com/advisories/GHSA-3w84-4mjc-rjw7
  • github.com/bnb-chain/tss-lib
  • github.com/bnb-chain/tss-lib/issues/44
  • github.com/bnb-chain/tss-lib/releases/tag/v2.0.0
  • github.com/bnb-chain/tss-lib/tree/v1.3.5
  • gitlab.com/thorchain/tss/tss-lib/-/tags/v0.1.3
  • medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b
  • nvd.nist.gov/vuln/detail/CVE-2023-26556
  • pkg.go.dev/vuln/GO-2023-1732

Code Behaviors & Features

Detect and mitigate CVE-2023-26556 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.0

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

go/github.com/bnb-chain/tss-lib/CVE-2023-26556.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:23 +0000.