cve/2024/CVE-2024-50354.md

20 lines
994 B
Markdown
Raw Permalink Normal View History

2025-09-29 21:09:30 +02:00
### [CVE-2024-50354](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-50354)
![](https://img.shields.io/static/v1?label=Product&message=gnark&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%3D%200.11.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brightgreen)
### 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.
### POC
#### Reference
- https://github.com/Consensys/gnark/pull/1307
- https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds