Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Consensys | Gnark | < 0.12.0 |
Related Weaknesses (CWE)
References
- https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe19519Patch
- https://github.com/Consensys/gnark/pull/1307Issue TrackingPatch
- https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82gExploitVendor Advisory
FAQ
What is CVE-2024-50354?
CVE-2024-50354 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 o...
How severe is CVE-2024-50354?
CVE-2024-50354 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-50354?
Check the references section above for vendor advisories and patch information. Affected products include: Consensys Gnark.