| { |
| "schema_version": "1.3.1", |
| "id": "GO-2021-0347", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2022-05-23T22:15:47Z", |
| "aliases": [ |
| "CVE-2022-24921" |
| ], |
| "summary": "Stack exhaustion when compiling deeply nested expressions in regexp", |
| "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-0" |
| }, |
| { |
| "fixed": "1.17.8" |
| } |
| ] |
| } |
| ], |
| "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" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2021-0347", |
| "review_status": "REVIEWED" |
| } |
| } |