CVE-2024-45040

MediumCVSS 5.9/10Last modified Jun 17, 2026

Description

gnark is a fast zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.11.0, commitments to private witnesses in Groth16 as implemented break the zero-knowledge property. The vulnerability affects only Groth16 proofs with commitments. Notably, PLONK proofs are not affected. The vulnerability affects the zero-knowledge property of the proofs - in case the witness (secret or internal) values are small, then the attacker may be able to enumerate all possible choices to deduce the actual value. If the possible choices for the variables to be committed is large or there are many values committed, then it would be computationally infeasible to enumerate all valid choices. It doesn't affect the completeness/soundness of the proofs. The vulnerability has been fixed in version 0.11.0. The patch to fix the issue is to add additional randomized value to the list of committed value at proving time to mask the rest of the values which were committed. As a workaround, the user can manually commit to a randomized value.

Metrics

CVSS 3.1 5.9/10CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Sep 6, 2024
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2024

CVE-2024-450418.8External Secrets Operator is a Kubernetes operator that integrates external secret management systems. The external-secrets has a deploymentCVE-2024-450424.4Ory Kratos is an identity, user management and authentication system for cloud services. Prior to version 1.3.0, given a number of preconditCVE-2024-450435.3The OpenTelemetry Collector module AWS firehose receiver is for ingesting AWS Kinesis Data Firehose delivery stream messages and parsing theCVE-2024-450448.8Bareos is open source software for backup, archiving, and recovery of data for operating systems. When a command ACL is in place and a user CVE-2024-450456.1Collabora Online is a collaborative online office suite based on LibreOffice technology. In the mobile (Android/iOS) device variants of CollCVE-2024-450465.4PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In affected versions `\PhpOffice\PhpSpreadsheet\Writer\Html`CVE-2024-450476.1svelte performance oriented web framework. A potential mXSS vulnerability exists in Svelte for versions up to but not including 4.2.19. SvelCVE-2024-450486.5PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Affected versions are subject to a bypassing of a filter whiCVE-2024-450497.5Hydra is a Continuous Integration service for Nix based projects. It is possible to trigger evaluations in Hydra without any authentication.CVE-2024-45057.2A vulnerability, which was classified as critical, was found in Ruijie RG-UAC up to 20240428. This affects an unknown part of the file /viewCVE-2024-450507.1Ringer server is the server code for the Ringer messaging app. Prior to version 1.3.1, there is an issue with the messages loading route wheCVE-2024-450518.2Discourse is an open source platform for community discussion. A maliciously crafted email address could allow an attacker to bypass domain-
CVE-2024-45040: Medium severity, CVSS 5.9 | Vulnix