Vulnerability DatabaseGHSA-h24c-6p6p-m3vx

GHSA-h24c-6p6p-m3vx
vulnerability analysis and mitigation

Overview

A critical vulnerability was discovered in tss-lib (Go package) affecting versions <= 1.3.5, identified as GHSA-h24c-6p6p-m3vx. The vulnerability exists in the GG18 threshold ECDSA signature protocol implementation, where the system fails to properly validate Paillier modulus N, potentially allowing attackers to recover the shared secret key (GitHub Advisory).

Technical details

The vulnerability stems from the implementation's failure to prove that the Paillier modulus N is biprime and doesn't contain small factors. If a participant generates a Paillier modulus N containing small factors (less than 2^100), they can exploit the signing protocol to steal other participants' secret key shares. The attack can be successful in as few as sixteen signing attempts, ultimately allowing the reconstruction of the master key (GitHub Advisory).

Impact

The vulnerability allows malicious actors to recover the shared secret key by exploiting the signing protocol. This compromises the security of the threshold signature scheme, potentially affecting any systems or applications relying on this implementation for distributed signing operations (GitHub Advisory).

Mitigation and workarounds

The fixed implementation adds proofs from the CGGMP21 threshold ECDSA protocol to the key generation process, including Paillier-Blum Modulus proof (ensuring N is the product of two primes) and No Small Factor proof (ensuring both factors of N are greater than 2^256). These proofs are applied to both the Paillier encryption modulus N and the modulus NTilde used in MTA proofs. Additionally, the resharing protocol has been enhanced with an extra round to confirm valid proof reception (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management