VULNERABILITY INTELLIGENCE
CVE-2023-44378
CVSS score7.1 HIGH
EPSS probability0.23%
CISA KEVNot currently listed
Published2023-10-09
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
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.
Weakness classification
- CWE-191: Integer Underflow (Wrap or Wraparound)
- CWE-697: Incorrect Comparison
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Mitigation, Patch, Third Party Advisory
- security-advisories@github.com — Not Applicable
- af854a3a-2127-422b-91ae-364da2661108 — Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mitigation, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Not Applicable