blob: 08f1e4803e88a347729d06b9a51dded395fd3e20 [file] [log] [blame]
{
"id": "GO-2022-0515",
"published": "2022-07-20T17:01:45Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-1962"
],
"details": "Calling any of the Parse functions on Go source code which contains deeply nested types or declarations can cause a panic due to stack exhaustion.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.12"
},
{
"introduced": "1.18.0"
},
{
"fixed": "1.18.4"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0515"
},
"ecosystem_specific": {
"imports": [
{
"path": "go/parser",
"symbols": [
"ParseExprFrom",
"ParseFile",
"parser.parseBinaryExpr",
"parser.parseIfStmt",
"parser.parsePrimaryExpr",
"parser.parseStmt",
"parser.parseUnaryExpr",
"parser.tryIdentOrType",
"resolver.closeScope",
"resolver.openScope"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/417063"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/53616"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"
}
],
"credits": [
{
"name": "Juho Nurminen of Mattermost"
}
],
"schema_version": "1.3.1"
}