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-45039 #3122

Open
GoVulnBot opened this issue Sep 6, 2024 · 1 comment

Comments

@GoVulnBot
Copy link

Advisory CVE-2024-45039 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. Versions prior to 0.11.0 have a soundness issue - in case of multiple commitments used inside the circuit the prover is able to choose all but the last commitment. As gnark uses the commitments for optimized non-native multiplication, lookup checks etc. as random challenges, then it could impact the soundness of the whole circuit. However, using multiple commitments has been discouraged due to the additional cost to the verifier and it has not been supported in the recursive in-circuit Groth16 verifier and Solidi...

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-45039 in github.com/Consensys/gnark
cves:
    - CVE-2024-45039
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-45039
    - fix: https://github.com/Consensys/gnark/commit/e7c66b000454f4d2a4ae48c005c34154d4cfc2a2
    - web: https://github.com/Consensys/gnark/security/advisories/GHSA-q3hw-3gm4-w5cr
source:
    id: CVE-2024-45039
    created: 2024-09-06T14:01:21.168247948Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/626158 mentions this issue: data/reports: add 4 NEEDS_REVIEW reports

gopherbot pushed a commit that referenced this issue Nov 20, 2024
  - data/reports/GO-2024-3122.yaml
  - data/reports/GO-2024-3140.yaml
  - data/reports/GO-2024-3259.yaml
  - data/reports/GO-2024-3265.yaml

Updates #3122
Updates #3140
Updates #3259
Updates #3265

Change-Id: I3fb8a3af0ccd59ed8dd5d130889e10601c0a9472
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/626158
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Zvonimir Pavlinovic <[email protected]>
Reviewed-by: Tatiana Bradley <[email protected]>
Auto-Submit: Tatiana Bradley <[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