blob: 915dd864547b0b5062485eead01c02cf814e98a1 [file] [log] [blame]
{
"id": "GO-2021-0347",
"published": "2022-05-23T22:15:47Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-24921"
],
"details": "On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.16.15"
},
{
"introduced": "1.17.0"
},
{
"fixed": "1.17.8"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0347"
},
"ecosystem_specific": {
"imports": [
{
"path": "regexp",
"symbols": [
"regexp.Compile"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/384616"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/452f24ae94f38afa3704d4361d91d51218405c0a"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/51112"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/RP1hfrBYVuk"
}
],
"credits": [
{
"name": "Juho Nurminen"
}
],
"schema_version": "1.3.1"
}