CVE-2024-50354
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Consensys | gnark | <= 0.11.0 | affected |
Weaknesses
- CWE-400: CWE-400: Uncontrolled Resource Consumption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
- https://github.com/Consensys/gnark/pull/1307
- https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.