ark-r1cs-std
Affected
- introduced
0.0.0-0, fixed0.3.1(semver)
Fixed versions
0.3.1
Fix
- Fixed version
0.3.1cargo update -p ark-r1cs-std --precise 0.3.1
Advisory
Also known as: CVE-2021-38194, GHSA-qj3v-q2vj-4c8h
Flaw in FieldVar::mul_by_inverse allows unsound R1CS constraint systems
Versions 0.2.0 to 0.3.0 of ark-r1cs-std did not enforce any constraints in the FieldVar::mul_by_inverse method, allowing a malicious prover to produce an unsound proof that passes all verifier checks.
This method was used primarily in scalar multiplication for `short_weierstrass::ProjectiveVar`.
This bug was fixed in commit 47ddbaa, and was released as part of version 0.3.1 on crates.io.
Not rated by the source.
0.0.0-0, fixed 0.3.1 (semver)0.3.1
0.3.1cargo update -p ark-r1cs-std --precise 0.3.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0