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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- raw.githubusercontent.com third-party-advisory
- rustsec.org exploit issue-tracking patch third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product
- crates.io product