CVE-2024-50354 MEDIUM

CVE-2024-50354: Out-of-memory during deserialization with crafted inputs

Vendor Consensys
Product gnark
Weakness CWE-400
Published October 31, 2024
Last update October 31, 2024

CVSS base score

5.5/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 31, 2024 CVE published
October 31, 2024 Record updated