Skip to content
OpenAdvisories

Package · Go

github.com/consensys/gnark

8 known vulnerabilities.

3 results · Clear filters · Feed

  • High 7.5

    gnark affected by denial of service when computing scalar multiplication using fake-GLV algorithm

    gnark is a zero-knowledge proof system framework. In version 0.12.0, there is a potential denial of service vulnerability when computing scalar multiplication is using the fake-GLV algorithm. This is because the algorithm didn't converge quickly enough for so…

  • High 8.6

    gnark is vulnerable to signature malleability in EdDSA and ECDSA due to missing scalar checks

    gnark is a zero-knowledge proof system framework. In versions prior to 0.14.0, the Verify function in eddsa.go and ecdsa.go used the S value from a signature without asserting that 0 ≤ S < order, leading to a signature malleability vulnerability. Because gnar…

  • High 7.1

    gnark vulnerable to unsoundness in variable comparison/non-unique binary decomposition

    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 t…