GHSA-7p92-x423-vwj6: Plonk verifier KZG multi point verification
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
-
Published
10/17/2023
Updated
1/26/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/consensys/gnark | go | < 0.9.1 | 0.9.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The critical vulnerability existed in the randomness generation within the batch_verify_multi_points function of the Plonk verifier's Solidity implementation. The original code used a truncated state (first 32 bytes) to generate the random challenge, while the patch expanded this to include multiple critical components of the verification state (folded digests, grand product commitments, zeta, gamma_kzg, etc.). This matches the vulnerability description about insufficient Fiat-Shamir transcript hashing. The function is clearly identified in the solidity.go diff where the random generation logic was modified.