GHSA-c58h-qv6g-fw74
IO FinNet tss-lib vulnerable to replay attacks involving proofs
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/bnb-chain/tss-lib | < 2.0.0 | 2.0.0 |
| Go | github.com/binance-chain/tss-lib | < 2.0.0 | 2.0.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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