Improper Check for Unusual or Exceptional Conditions Affecting zcash/zcash package, versions [,2.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ZCASHZCASH-2365843
  • published26 Jan 2022
  • disclosed27 Mar 2019
  • creditUnknown

Introduced: 27 Mar 2019

CVE-2019-7167  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade zcash/zcash to version 2.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions. Zcash, before the Sapling network upgrade (2018-10-28), had a counterfeiting vulnerability. A key-generation process, during evaluation of polynomials related to a to-be-proven statement, produced certain bypass elements. Availability of these elements allowed a cheating prover to bypass a consistency check, and consequently transform the proof of one statement into an ostensibly valid proof of a different statement, thereby breaking the soundness of the proof system. This misled the original Sprout zk-SNARK verifier into accepting the correctness of a transaction.

References

CVSS Base Scores

version 3.1