bnb-chain/tss-lib · Security
IO FinNet tss-lib vulnerable to replay attacks involving proofs
- GHSA ID
- GHSA-c58h-qv6g-fw74
- CVE ID
- CVE-2022-47930
- Severity
- medium
- Published
- Updated
- CVSS
- 6.8 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 6.8 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Description
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.
CWEs
- CWE-294 · Authentication Bypass by Capture-replay
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-47930 ↗
- https://github.com/IoFinnet/tss-lib/releases/tag/v2.0.0 ↗
- https://medium.com/@iofinnet/security-disclosure-for-ecdsa-and-eddsa-threshold-signature-schemes-4e969af7155b ↗
- https://github.com/bnb-chain/tss-lib/pull/256 ↗
- https://github.com/bnb-chain/tss-lib/commit/1a14f3ac9ecbf6115e80d44c7fff16bcc3139250 ↗
- https://github.com/advisories/GHSA-c58h-qv6g-fw74 ↗