GitHub Advisory Database
GHSA-c58h-qv6g-fw74
IO FinNet tss-lib vulnerable to replay attacks involving proofs
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/bnb-chain/tss-lib | All versions before 2.0.0 (fixed in 2.0.0) |
| Go | github.com/binance-chain/tss-lib | All versions before 2.0.0 (fixed in 2.0.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-47930
- https://github.com/bnb-chain/tss-lib/pull/256
- https://github.com/bnb-chain/tss-lib/commit/1a14f3ac9ecbf6115e80d44c7fff16bcc3139250
- https://github.com/IoFinnet/tss-lib/releases/tag/v2.0.0
- https://github.com/bnb-chain/tss-lib
- https://medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b