CVE-2024-50354

medium

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.

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

Details

Source: Mitre, NVD

Published: 2024-10-31

Updated: 2024-11-01

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium