CVE-2021-38194Arcworks Ark-r1cs-std
Critical 9.8 No auth needed
Follow: this CVE · Arcworks · Arcworks Ark-r1cs-std We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- Aug 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ark-r1cs-std.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | ark-r1cs-std |
≥ 0.2.0 < 0.3.1 |
0.3.1 |
cargo update -p ark-r1cs-std --precise 0.3.1 |
| crates.io | ark-r1cs-std |
≥ 0.0.0-0 < 0.3.1 |
0.3.1 |
cargo update -p ark-r1cs-std --precise 0.3.1 |
Per OSV / GitHub Advisories (GHSA-qj3v-q2vj-4c8h, RUSTSEC-2021-0075). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| arcworks | ark-r1cs-std | < 0.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- raw.githubusercontent.com Third Party Advisory
- rustsec.org Exploit Issue Tracking Patch