5.5

CVE-2024-50354

Exploit

Out-of-memory during deserialization with crafted inputs

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
ConsensysGnark Version < 0.12.0
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.32% 0.24
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
security-advisories@github.com 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-400 Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d
Patch
https://github.com/Consensys/gnark/pull/1307
Patch
Issue Tracking
https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
Vendor Advisory
Exploit