tss-lib leaks secret keys in response to incorrectly constructed Paillier moduli
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.
Summary
### Impact The specification of the GG18 threshold ECDSA signature protocol contains a vulnerability allowing an attacker to recover the shared secret key. If a participant generates a Paillier modulus `N` containing small factors (less than `2^100`) they can interact with other participants in the signing protocol to steal their secret key shares in as little as sixteen signing attempts. The master key can then be reconstructed from these shares. ### Patches The implementation of GG18 in tss-lib did not prove that `N` is biprime or that it doesn't contain small factors. The fixed implementation adds the following proofs from the CGGMP21 threshold ECDSA protocol to the key generation: - Paillier-Blum Modulus (`N` is the product of two primes) - No Small Factor (both factors of `N` are greater than `2^256`) These proofs apply to both the Paillier encryption modulus `N`, and the modulus `NTilde` used in MTA proofs. To address the issue in the resharing protocol, an additional round has been added to the end so that participants can confirm that they received valid proofs. ### References - [GG18](https://eprint.iacr.org/2019/114) - [CGGMP21](https://eprint.iacr.org/2021/060)
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/bnb-chain/tss-lib (Go) | up to 1.3.5 | — | No fix listed | GHSA-h24c-6p6p-m3vx |
- github.com/bnb-chain/tss-lib (Go) Vendor— Affected up to 1.3.5 Fixed in — No fix listed GHSA-h24c-6p6p-m3vx
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-03 Threatist record created from GHSA-h24c-6p6p-m3vx
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences