VulnerabilityAnalyzed
CVE-2024-50354
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.
MEDIUM 5.5EPSS 0.33%
Does this matter?
Lower severity and a low EPSS score (0.33%). Track it; it rarely justifies an emergency change on its own.
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 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.33% probability · 25th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-400
- Affected
- consensys/gnark
- Source
- security-advisories@github.com
References
- https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191dPatch
- https://github.com/Consensys/gnark/pull/1307Issue Tracking, Patch
- https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82gExploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.