CVE-2023-44378 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 19, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Consensys/gnark/commit/59a4087261a6c73f13e80d695c17b398c3d0934f | CVE | Patch |
| https://github.com/Consensys/gnark/security/advisories/GHSA-498w-5j49-vqjg | CVE | MitigationPatchThird Party Advisory |
| https://github.com/zkopru-network/zkopru/issues/116 | CVE | Not Applicable |
| https://github.com/Consensys/gnark/commit/59a4087261a6c73f13e80d695c17b398c3d0934f | [email protected] | Patch |
| https://github.com/Consensys/gnark/security/advisories/GHSA-498w-5j49-vqjg | [email protected] | MitigationPatchThird Party Advisory |
| https://github.com/zkopru-network/zkopru/issues/116 | [email protected] | Not Applicable |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-191 | Integer Underflow (Wrap or Wraparound) | [email protected] |
| CWE-697 | Incorrect Comparison | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| consensys gnark | < 0.9.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 13, 2023 | Initial Analysis | [email protected] |