CVE-2024-50354
MEDIUM EPSS 24.2%
Published Oct 31, 20241y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Oct 31, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
24.2% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-400 Uncontrolled Resource Consumption Resource Mgmt
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| consensys | gnark | * | <0.12.0 |
References 3
- github.com https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d
- github.com https://github.com/Consensys/gnark/pull/1307
- github.com https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
Remediation
- github.com https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d
- github.com https://github.com/Consensys/gnark/pull/1307