Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | ark-r1cs-std | >= 0.2.0, < 0.3.1 | 0.3.1 | GHSA-qj3v-q2vj-4c8h |
| crates.io | ark-r1cs-std | >= 0.0.0-0, < 0.3.1 | 0.3.1 | RUSTSEC-2021-0075 |