MediumGHSA-c58h-qv6g-fw74CVE-2022-47930GO-2023-1867

IO FinNet tss-lib vulnerable to replay attacks involving proofs

Published 21 Apr 2023 · Updated 5 Feb 2025

Is your project on an affected github.com/bnb-chain/tss-lib?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<2.0.0
Fixed in
2.0.0
Update to the fixed version for your release line, for example:go get github.com/bnb-chain/tss-lib@v2.0.0
Affected
<2.0.0
Fixed in
2.0.0
Update to the fixed version for your release line, for example:go get github.com/binance-chain/tss-lib@v2.0.0

Details

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.

Is GHSA-c58h-qv6g-fw74 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/bnb-chain/tss-lib, and gives you the command that fixes it.

More advisories for github.com/bnb-chain/tss-lib

  • CriticalGHSA-h24c-6p6p-m3vxtss-lib leaks secret keys in response to incorrectly constructed Paillier moduli · 1 Sept 2023
  • LowCVE-2023-26557Timing attack from non-constant time scalar arithmetic in github.com/bnb-chain/tss-lib · 11 Jul 2023
  • LowCVE-2022-47931Collision of hash values in github.com/bnb-chain/tss-lib · 11 Jul 2023
  • LowCVE-2023-26556Timing attack from non-constant time scalar multiplication in github.com/bnb-chain/tss-lib · 11 Jul 2023
  • CriticalCVE-2023-26556IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar multiplication · 21 Apr 2023
  • HighCVE-2023-26557IO FinNet tss-lib vulnerable to timing attack from non-constant time scalar arithmetic · 21 Apr 2023
All 8 advisories for github.com/bnb-chain/tss-lib

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.