blob: ff1b24a422bd8042ef464303922154c7ff24c4ba [file] [log] [blame]
{
"id": "GO-2022-1039",
"published": "0001-01-01T00:00:00Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-41715"
],
"details": "Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service.\n\nThe parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory.\n\nAfter fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.7"
},
{
"introduced": "1.19.0"
},
{
"fixed": "1.19.2"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1039"
},
"ecosystem_specific": {
"imports": [
{
"path": "regexp/syntax",
"symbols": [
"Parse",
"parse",
"parser.factor",
"parser.push",
"parser.repeat"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/55949"
},
{
"type": "FIX",
"url": "https://go.dev/cl/439356"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"
}
],
"credits": [
{
"name": "Adam Korczynski (ADA Logics) and OSS-Fuzz"
}
],
"schema_version": "1.3.1"
}