🛡️ GHSA-7f6p-phw2-8253 — multi-party-sig
Description
Taurus multi-party-sig has OT-based ECDSA protocol implementation flaws
Coinbase researchers reported 2 security issues in our implementation of the oblivious transfer (OT) based protocol [DKLS](https://eprint.iacr.org/2018/499.pdf):
1. Secret share recovery attack
If the base OT setup of the protocol is reused for another execution of the OT extension, then a malicious participant can extract a bit of the secret of another participant. By repeating the execution they can eventually recover the whole secret.
Therefore, unlike our comments suggested, you must not reuse an OT setup for multiple protocol executions.
We're adding a warning in the code:
https://github.com/taurushq-io/multi-party-sig/blob/9e4400fccee89be6195d0a12dd0ed052288d5040/internal/ot/extended.go#L114
2. Invalid security proof due to incorrect operator
The original 2018 version of the DKLS had a typo in the OT extension protocol when computing the check value in the OT extension: the paper noted a XOR whereas it should be a field multiplication. This erroneous behavior was implemented [in our code](https://github.com/taurushq-io/multi-party-sig/blob/4d84aafb57b437da1b933db9a265fb7ce4e7c138/internal/ot/extended.go#L188).
The proof of security fails in this case. No concrete attack is known, however.
The [2023 update](https://eprint.iacr.org/2018/499.pdf) of the DKLS paper reported that typo and updated the protocol definition.
~As of 20241124, patching is in progress (branch [otfix](https://github.com/taurushq-io/multi-party-sig/tree/otfix)), but not merged to the main branch yes as the tests fail to pass. We're troubleshooting the issue and will merge into the main branch when it's resolved.~
As of 20250128, a patched version is available in https://github.com/taurushq-io/multi-party-sig/releases/tag/v0.7.0-alpha-2025-01-28, thanks to https://github.com/taurushq-io/multi-party-sig/pull/119.
Workarounds
Do not reuse an OT setup in the event that an abort is detected, to eliminate the secret recovery attack.
Credits
Thanks to the Coinbase researchers Yi-Hsiu Chen and Samuel Ranellucci for discovering these issues and providing a comprehensive write-up. Thank you to Yehuda Lindell for coordinating the disclosure.
Thanks to Jay Prakash for clarifying the risk of the base setup reuse.
Thanks to @cronokirby for writing the corrected code.
Affected software
GHSA-7f6p-phw2-8253 is recorded against 1 package.
- github.com/taurusgroup/multi-party-sig
Timeline and source
Published on 25 November 2024 and last revised on 28 January 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
eprint.iacr.org (Web)
github.com (Package)
github.com (Web)
github.com (Web)
github.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| github.com/taurusgroup/multi-party-sig | — | — |
References
Similar Threats
- Unknown GO-2024-3288
Site Security Check
Is multi-party-sig part of your stack?
GHSA-7f6p-phw2-8253 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →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.