logo

CVE-2021-38194 ark-r1cs-std

Package

Manager: cargo
Name: ark-r1cs-std
Vulnerable Version: >=0.2.0 <0.3.1

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00363 pctl0.57621

Details

Calculation error in ark-r1cs-std 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.

Metadata

Created: 2021-08-25T20:55:58Z
Modified: 2021-08-18T21:27:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-qj3v-q2vj-4c8h/GHSA-qj3v-q2vj-4c8h.json
CWE IDs: ["CWE-682"]
Alternative ID: GHSA-qj3v-q2vj-4c8h
Finding: F138
Auto approve: 1