~ / search / GHSA-qj3v-q2vj-4c8h

GHSA-qj3v-q2vj-4c8h

Calculation error in ark-r1cs-std

Source: GitHub Advisory Database (reviewed) Critical CVE-2021-38194

Packages

EcosystemPackageAffectedFixed in
crates.io ark-r1cs-std >= 0.2.0, < 0.3.1 0.3.1

Details

As written in the advisory (Markdown source, shown as plain text).

An issue was discovered in the ark-r1cs-std crate before 0.3.1 for Rust. It does not enforce any constraints in the FieldVar::mul_by_inverse method. Thus, a prover can produce a proof that is unsound but is nonetheless verified.

References

External links from the advisory. They lead to third-party sites.