blob: ef175e92c43dc0504f5844d48a5e5475c9e4ed19 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-3244",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"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"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "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"
]
}
],
"custom_ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.11.1"
}
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-cph5-3pgr-c82g"
},
{
"type": "FIX",
"url": "https://github.com/Consensys/gnark/commit/47ae846339add2bdf9983e499342bfdfe195191d"
},
{
"type": "WEB",
"url": "https://github.com/Consensys/gnark/pull/1307"
}
],
"credits": [
{
"name": "pventuzelo"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-3244",
"review_status": "REVIEWED"
}
}