{"schema_version":"1.7.3","id":"GO-2024-3244","published":"2024-11-01T21:55:10Z","modified":"2025-02-06T17:50:03Z","aliases":["CVE-2024-50354","GHSA-cph5-3pgr-c82g"],"summary":"Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark","details":"Gnark out-of-memory during deserialization with crafted inputs in github.com/consensys/gnark","affected":[{"package":{"name":"github.com/consensys/gnark","ecosystem":"Go","purl":"pkg:golang/github.com/consensys/gnark"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.0"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/consensys/gnark/backend/groth16/bls24-315","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]},{"path":"github.com/consensys/gnark/backend/groth16/bn254","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]},{"path":"github.com/consensys/gnark/backend/groth16/bls24-317","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]},{"path":"github.com/consensys/gnark/backend/groth16/bw6-633","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]},{"path":"github.com/consensys/gnark/backend/groth16/bls12-381","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]},{"path":"github.com/consensys/gnark/backend/groth16/bls12-377","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]},{"path":"github.com/consensys/gnark/backend/groth16/bw6-761","symbols":["ProvingKey.ReadDump","ProvingKey.ReadFrom","ProvingKey.UnsafeReadFrom","ProvingKey.readFrom","Setup","VerifyingKey.ReadFrom","VerifyingKey.UnsafeReadFrom","VerifyingKey.readFrom"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-3244.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cph5-3pgr-c82g"},{"type":"FIX","url":"https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d"},{"type":"FIX","url":"https://github.com/Consensys/gnark/pull/1307"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2024-3244"},"credits":[{"name":"pventuzelo"}]}