{"id":"CVE-2022-24921","published":"2022-03-05T00:00:00Z","modified":"2024-08-03T04:29:01Z","title":"regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression","vendor":null,"product":null,"tier":"tail","description":{"text":"regexp.Compile in Go before 1.16.15 and 1.17.x before 1.17.8 allows stack exhaustion via a deeply nested expression.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03228,"percentile":0.88559,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/RP1hfrBYVuk","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0010/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00017.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00018.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["vendor-advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-744259.pdf","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","tags":["mailing-list"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":17.71}]},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.16.15",">=1.17.0-0, <1.17.8"],"patched":["1.16.15","1.17.8"],"from":["GO-2021-0347"],"provenance":"source"}],"summary":{"text":"The flaw is in the regexp.Compile function of the Go standard library, affecting releases before 1.16.15 and the 1.17.x releases before 1.17.8. An attacker who can supply a deeply nested regular expression to be compiled can exhaust the stack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:01Z"},"euvd":{"id":"EUVD-2022-29676","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-44717","published":"2022-01-01","fixed":"1.17.5","kev":false},{"cve":"CVE-2022-23772","published":"2022-02-11","fixed":"1.17.7","kev":false},{"cve":"CVE-2022-23806","published":"2022-02-11","fixed":"1.17.7","kev":false,"link":{"from":"CVE-2022-23806","to":"CVE-2022-24921","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.16.14","toFixed":"1.16.15","daysApart":22}]}},{"cve":"CVE-2022-24921","published":"2022-03-05","fixed":"1.17.8","kev":false},{"cve":"CVE-2022-24675","published":"2022-04-20","fixed":"1.18.1","kev":false,"link":{"from":"CVE-2022-24921","to":"CVE-2022-24675","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.17.8","toFixed":"1.17.9","daysApart":46}]}},{"cve":"CVE-2022-27536","published":"2022-04-20","fixed":"1.18.1","kev":false},{"cve":"CVE-2022-28327","published":"2022-04-20","fixed":"1.18.1","kev":false,"link":{"from":"CVE-2022-24921","to":"CVE-2022-28327","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.17.8","toFixed":"1.17.9","daysApart":46}]}}],"package":"Go:stdlib"}}