Zcash counterfeiting vulnerability (CVE-2019-7167)
The published setup of the BCTV14 zk-SNARK, which Zcash's original Sprout system used, produced extra elements that would let their holder forge proofs and create shielded coins from nothingIACR Cryptology ePrint A… 2013
- IntroducedBCTV14 paper, whose setup description contains the flaw, first posted to IACR ePrint (2013/879). IACR Cryptology ePrint A… 2013
- IntroducedZcash launches with the Sprout system built on BCTV14 and parameters from the 2016 ceremony. Electric Coin Company bl… 2016
Electric Coin Company bl… 2019 - DiscoveredAriel Gabizon discovers the flaw at Financial Cryptography 2018; Sean Bowe confirms; CEO and CTO briefed. Electric Coin Company bl… 2019
- MitigatedThe ceremony transcript is removed from public availability under a cover story of accidental deletion. Electric Coin Company bl… 2019
- PatchedSapling network upgrade activates at block 419200, covertly removing the vulnerability from Zcash. Electric Coin Company bl… 2019
- EventCircle widens: director of product security briefed to prepare third-party disclosure packages. Electric Coin Company bl… 2019
- ReportedHorizen and Komodo notified by PGP-encrypted email of impact and fix path, without the cause; 90-day maximum embargo. Electric Coin Company bl… 2019
- AcknowledgedKomodo acknowledges the notification. Electric Coin Company bl… 2019
- EventTranscript reconstructed from participants' DVDs and reposted. Electric Coin Company bl… 2019
- EventHorizen asks for full details before publication; request refused. Electric Coin Company bl… 2019
- ReportedFounding scientists and BCTV14 authors briefed. Electric Coin Company bl… 2019
- PatchedHorizen's software upgrade completed (as reported by Horizen to Fortune). Fortune 2019
- EventCVE-2019-7167 obtained from MITRE. Electric Coin Company bl… 2019
- ReportedZcash Foundation and its board briefed, along with all Zcash Company staff. Electric Coin Company bl… 2019
- DisclosedPublic disclosure via blog, social media and direct contacts; CVE text released. Electric Coin Company bl… 2019
Fortune 2019 - EventBCTV14 ePrint revised to fix the error in Appendix B. IACR Cryptology ePrint A… 2013
- DisclosedGabizon posts his analysis of the BCTV14 flaw to IACR ePrint (2019/119). IACR Cryptology ePrint A… 2019
- AnnouncedTurnstile enforcement (ZIP 209) announced as a consensus rule, planned for zcashd 2.0.5 on mainnet. Electric Coin Company bl… 2019
- EventNVD publishes its CVE-2019-7167 record. NIST NVD 2019
What it did
The company found no evidence of counterfeiting, but shielded pools are private, so that conclusion rests on turnstile accounting of value leaving themElectric Coin Company bl… 2019
What it teaches
A vendor can keep a secret for a long time: knowledge stayed with four people until the covert fix, and the flaw stayed undisclosed for 341 daysElectric Coin Company bl… 2019. Notifying forks by market value protected most exposed value first, but press coverage questioned leaving smaller projects exposedFortune 2019. Zcash made the turnstile a consensus rule, which contains counterfeit value rather than proving there is noneElectric Coin Company bl… 2019