Vulnerability
CVE-2024-50354
gnark is a fast zk-SNARK library that offers a high-level API to design circuits. In gnark 0.11.0 and earlier, deserialization of Groth16 verification keys allocate excessive memory, consuming a lot of resources and triggering a crash with the error fatal error: runtime: out of memory.
6 advisories report this vulnerability, across 3 ecosystems.
Advisories in Go
-
GHSA-cph5-3pgr-c82g
Gnark out-of-memory during deserialization with crafted inputs
-
GO-2024-3244
Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark