vulndb/data/osv/GO-2022-0300.json

56 строки
1.5 KiB
JSON

{
"id": "GO-2022-0300",
"published": "2022-07-15T23:10:20Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-21708",
"GHSA-mh3m-8c74-74xh"
],
"details": "Malicious inputs can cause a panic.\n\nA maliciously crafted input can cause a stack overflow and panic. Any user with access to the GraphQL can send such a query.\n\nThis issue only occurs when using the graphql.MaxDepth schema option (which is highly recommended in most cases).",
"affected": [
{
"package": {
"name": "github.com/graph-gophers/graphql-go",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.0"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0300"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/graph-gophers/graphql-go",
"symbols": [
"Schema.Exec",
"Schema.Subscribe",
"Schema.ToJSON",
"Schema.Validate",
"Schema.ValidateWithVariables",
"Schema.exec",
"Schema.subscribe"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/graph-gophers/graphql-go/commit/eae31ca73eb3473c544710955d1dbebc22605bfe"
}
]
}