🛡️ GHSA-h24c-6p6p-m3vx — tss-lib

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-200 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

tss-lib leaks secret keys in response to incorrectly constructed Paillier moduli

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)

Weakness class

GHSA-h24c-6p6p-m3vx is classified as CWE-200: Exposure of Sensitive Information. Information that should stay internal is disclosed to someone who is not authorised to see it.

Affected software

GHSA-h24c-6p6p-m3vx is recorded against 1 package.

  • github.com/bnb-chain/tss-lib

Timeline and source

Published on 1 September 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
eprint.iacr.org (Web)
eprint.iacr.org (Web)
github.com (Package)

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector N/A
CWE CWE-200
Public Exploit ✅ No
Source OSV
Published 2023-09-01
Updated 2026-08-12
Modified 2023-09-01
Fix URL N/A

Affected Packages

Software From version Fixed in
github.com/bnb-chain/tss-lib

Similar Threats

Exploit Protection

Are you running tss-lib?

GHSA-h24c-6p6p-m3vx carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For GHSA-h24c-6p6p-m3vx →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated