MEDIUM6.2
GO-2024-3122
Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark
Quick fix
GO-2024-3122 — github.com/consensys/gnark: upgrade to the fixed version with the command below.
go get github.com/consensys/gnark@v0.11.0Details
Groth16 commitment extension unsound for more than one commitment in github.com/consensys/gnark
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/consensys/gnark
Introduced in:
0Fixed in: 0.11.0Fix
go get github.com/consensys/gnark@v0.11.0References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/consensys/gnark"]}'