Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-38194 EUVD-2021-1846GHSA-qj3v-q2vj-4c8hRUSTSEC-2021-0075

Calculation error in ark-r1cs-std

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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

EcosystemPackageAffectedFixedRecord
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

References