5.5

CVE-2024-50354: consensys gnark Uncontrolled Resource Consumption

CVSS: 5.5v3.1MediumAnalyzed
AliasesGHSA-cph5-3pgr-c82gGO-2024-3244
Published 31-10-2024Last modified 31-10-2024

Vulnerability summary

CVE-2024-50354 is a medium (CVSS 5.5) Uncontrolled Resource Consumption vulnerability in consensys gnark. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 31-10-2024
    PublishedVulnerability first disclosed.
  2. 31-10-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.33%

Chance of exploitation in the next 30 days

Percentile

24%

Versus all other CVEs

30-day change

0.00 pp

From 0.33% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Gnark

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Consensys1 product
  • gnark≤ 0.11.0 | < 0.12.0
Github.com/consensys1 product
  • gnark< 0.11.1 | < 0.12.0

2 vendors · 2 products

References

6 links