{"id":"CVE-2024-34155","published":"2024-09-06T20:42:42Z","modified":"2024-11-04T16:59:31Z","title":"Stack exhaustion in all Parse functions in go/parser","vendor":"Go standard library","product":"go/parser","tier":"tail","description":{"text":"Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00832,"percentile":0.58513,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/611238","tags":[]},{"url":"https://go.dev/issue/69138","tags":[]},{"url":"https://groups.google.com/g/golang-dev/c/S9POB9NCTdk","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2024-3105","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240926-0005/","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":11.7},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"go/parser","versions":["< 1.22.7",">= 1.23.0-0, < 1.23.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-09T13:55:36.320331Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.22.7",">=1.23.0-0, <1.23.1"],"patched":["1.22.7","1.23.1"],"from":["GO-2024-3105"],"provenance":"source"}],"summary":{"text":"The go/parser package in the Go standard library contains a flaw affecting all of its Parse functions. Passing Go source containing deeply nested literals to any of these functions can exhaust the stack and cause a panic, and an attacker who can get such input parsed (for example, by supplying source code to a service that uses go/parser) needs only low privileges over the network, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:58Z"},"euvd":{"id":"EUVD-2024-34664","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-24789","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24790","published":"2024-06-05","fixed":"1.22.4","kev":false},{"cve":"CVE-2024-24791","published":"2024-07-02","fixed":"1.22.5","kev":false,"link":{"from":"CVE-2024-24791","to":"CVE-2024-34155","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.22.5","toFixed":"1.22.7","daysApart":66}]}},{"cve":"CVE-2024-34155","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-34156","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-34158","published":"2024-09-06","fixed":"1.23.1","kev":false},{"cve":"CVE-2024-45336","published":"2025-01-28","fixed":"1.24.0-rc.2","kev":false}],"package":"Go:stdlib"}}