Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/Consensys/gnark: CVE-2024-50354 #3244

Closed
GoVulnBot opened this issue Oct 31, 2024 · 2 comments

Comments

@GoVulnBot
Copy link

Advisory CVE-2024-50354 references a vulnerability in the following Go modules:

Module
github.com/Consensys/gnark

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:

No existing reports found with this module or alias.
See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/Consensys/gnark
      vulnerable_at: 0.11.0
summary: CVE-2024-50354 in github.com/Consensys/gnark
cves:
    - CVE-2024-50354
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-50354
    - fix: https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d
    - fix: https://github.com/Consensys/gnark/pull/1307
    - web: https://github.com/Consensys/gnark/security/advisories/GHSA-cph5-3pgr-c82g
source:
    id: CVE-2024-50354
    created: 2024-10-31T17:01:23.093953083Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/624497 mentions this issue: data/reports: add GO-2024-3244

@zpavlinovic zpavlinovic self-assigned this Nov 1, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/647275 mentions this issue: data/reports: update GO-2024-3244

gopherbot pushed a commit that referenced this issue Feb 6, 2025
Update fixed version.

  - data/reports/GO-2024-3244.yaml

Updates #3244
Fixes #3439

Change-Id: I20699810aaa34ea5ac5f909e0c8b846985d3bfee
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/647275
Reviewed-by: Neal Patel <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants