Skip to content

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

CriticalCVSS 9.8 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
arcworks ark-r1cs-std < 0.3.1 0.3.1 Fixed
crates.io ark-r1cs-std(crates.io) >= 0.0.0-0, < 0.3.1; >= 0.2.0, < 0.3.1 0.3.1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io ark-r1cs-std(crates.io) >= 0.2.0, < 0.3.1 0.3.1
crates.io ark-r1cs-std(crates.io) >= 0.0.0-0, < 0.3.1 0.3.1
arcworks ark-r1cs-std < 0.3.1 0.3.1

References