CVE-2024-50354
Last modified
CVE-2024-50354 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Consensys | Gnark | < 0.12.0 |
References
- https://github.com/Consensys/gnark/pull/1307Issue Tracking, Patch
- https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82gExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-50354?
How severe is CVE-2024-50354?
How do I fix CVE-2024-50354?
Are you affected by CVE-2024-50354?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
