Moderate severityNVD Advisory· Published Oct 31, 2024· Updated Oct 31, 2024
Out-of-memory during deserialization with crafted inputs
CVE-2024-50354
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/consensys/gnarkGo | < 0.11.1 | 0.11.1 |
Affected products
8- ghsa-coords7 versionspkg:golang/github.com/consensys/gnarkpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP5pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6pkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Package%20Hub%2012
< 0.11.1+ 6 more
- (no CPE)range: < 0.11.1
- (no CPE)range: < 0.0.20241104T154416-150000.1.12.1
- (no CPE)range: < 0.0.20241104T154416-150000.1.12.1
- (no CPE)range: < 0.0.20241101T215616-1.1
- (no CPE)range: < 0.0.20241104T154416-150000.1.12.1
- (no CPE)range: < 0.0.20241104T154416-150000.1.12.1
- (no CPE)range: < 0.0.20241104T154416-5.1
- Consensys/gnarkv5Range: <= 0.11.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-cph5-3pgr-c82gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-50354ghsaADVISORY
- github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191dghsax_refsource_MISCWEB
- github.com/Consensys/gnark/pull/1307ghsax_refsource_MISCWEB
- github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82gghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.