{"id":"EUVD-2023-2641","enisaUuid":"c4f0f625-b9cf-3071-97f0-35ff9223e6d8","description":"gnark is a zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.9.0, for some in-circuit values, it is possible to construct two valid decomposition to bits. In addition to the canonical decomposition of `a`, for small values there exists a second decomposition for `a+r` (where `r` is the modulus the values are being reduced by). The second decomposition was possible due to overflowing the field where the values are defined. Upgrading to version 0.9.0 should fix the issue without needing to change the calls to value comparison methods.","datePublished":"Oct 9, 2023, 1:33:54 PM","dateUpdated":"Sep 19, 2024, 1:52:13 PM","baseScore":7.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","references":"https://github.com/Consensys/gnark/security/advisories/GHSA-498w-5j49-vqjg\nhttps://github.com/zkopru-network/zkopru/issues/116\nhttps://github.com/Consensys/gnark/commit/59a4087261a6c73f13e80d695c17b398c3d0934f\n","aliases":"CVE-2023-44378\nGHSA-498w-5j49-vqjg\n","assigner":"GitHub_M","epss":0.23,"enisaIdProduct":[{"id":"df7f9097-f101-349b-b7a0-7db9e35e15a6","product":{"name":"gnark","vendor":{"name":"Consensys"}},"product_version":"\u003c 0.9.0"}],"enisaIdVendor":[{"id":"f85a70f1-35c2-3dea-abf4-507835d47a31","vendor":{"name":"Consensys"}}],"enisaIdVulnerability":[{"id":"873dec0c-1462-386d-b961-f5922051c892","vulnerability":{"id":"GHSA-498w-5j49-vqjg","description":"gnark unsoundness in variable comparison / non-unique binary decomposition","datePublished":"Oct 4, 2023, 2:44:08 PM","dateUpdated":"Oct 13, 2023, 11:13:57 PM","baseScore":null,"references":"https://github.com/Consensys/gnark/security/advisories/GHSA-498w-5j49-vqjg\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-44378\nhttps://github.com/zkopru-network/zkopru/issues/116\nhttps://github.com/Consensys/gnark/pull/835\nhttps://github.com/Consensys/gnark/commit/59a4087261a6c73f13e80d695c17b398c3d0934f\nhttps://github.com/Consensys/gnark\nhttps://github.com/advisories/GHSA-498w-5j49-vqjg\n","enisa_id":"EUVD-2023-2641\n","aliases":"GHSA-498w-5j49-vqjg\nCVE-2023-44378\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:33:56 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"99ee9599-a4df-3103-b5f3-0735a72acd23","vulnerability":{"id":"CVE-2023-44378","description":"gnark is a zk-SNARK library that offers a high-level API to design circuits. Prior to version 0.9.0, for some in-circuit values, it is possible to construct two valid decomposition to bits. In addition to the canonical decomposition of `a`, for small values there exists a second decomposition for `a+r` (where `r` is the modulus the values are being reduced by). The second decomposition was possible due to overflowing the field where the values are defined. Upgrading to version 0.9.0 should fix the issue without needing to change the calls to value comparison methods.","datePublished":"Oct 9, 2023, 1:33:54 PM","dateUpdated":"Sep 19, 2024, 1:52:13 PM","status":"PUBLISHED","baseScore":7.1,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","references":"https://github.com/Consensys/gnark/security/advisories/GHSA-498w-5j49-vqjg\nhttps://github.com/zkopru-network/zkopru/issues/116\nhttps://github.com/Consensys/gnark/commit/59a4087261a6c73f13e80d695c17b398c3d0934f\n","enisa_id":"EUVD-2023-2641\n","assigner":"GitHub_M","epss":0.23,"dataProcessed":"Nov 18, 2026, 7:20:57 AM","vulnerabilityProduct":[{"id":"566ed455-684c-392b-820b-c5a04655ea1f","product":{"name":"gnark","vendor":{"name":"Consensys"}},"product_version":"\u003c 0.9.0"}],"vulnerabilityVendor":[{"id":"feabe179-0dec-39c8-9f72-c2113c59e5cc","vendor":{"name":"Consensys"}}]}}],"enisaIdAdvisory":[]}