CVE-2023-44378
Summary
| CVE | CVE-2023-44378 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-10-09 14:15:00 UTC |
| Updated | 2023-10-13 18:43:00 UTC |
| Description | gnark is a zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.9.0, for some in-circuit values, it is possible to construct two valid decomposition to bits. In addition to the canonical decomposition of `a`, for small values there exists a second decomposition for `a+r` (where `r` is the modulus the values are being reduced by). The second decomposition was possible due to overflowing the field where the values are defined. Upgrading to version 0.9.0 should fix the issue without needing to change the calls to value comparison methods. |
Risk And Classification
Problem Types: CWE-191
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| LessThan(n) is unsafe with n = 254 · Issue #116 · zkopru-network/zkopru · GitHub | MISC | github.com | |
| fix: assert that the binary decomposition of a variable is less than … · Consensys/gnark@59a4087 · GitHub | MISC | github.com | |
| Unsoundness in variable comparison / non-unique binary decomposition · Advisory · Consensys/gnark · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 995500 GO (Go) Security Update for github.com/consensys/gnark (GHSA-498w-5j49-vqjg)