CVE-2021-38194: Calculation error in ark-r1cs-std

Severity: Critical

CVSS Score: 9.8

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.