{"schema_version":"1.3.1","id":"GO-2024-3107","modified":"2024-09-06T19:15:23Z","published":"2024-09-06T19:15:23Z","aliases":["CVE-2024-34158"],"summary":"Stack exhaustion in Parse in go/build/constraint","details":"Calling Parse on a \"// +build\" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.","affected":[{"package":{"name":"stdlib","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.7"},{"introduced":"1.23.0-0"},{"fixed":"1.23.1"}]}],"ecosystem_specific":{"imports":[{"path":"go/build/constraint","symbols":["Parse","exprParser.not","parsePlusBuildExpr"]}]}}],"references":[{"type":"FIX","url":"https://go.dev/cl/611240"},{"type":"REPORT","url":"https://go.dev/issue/69141"},{"type":"WEB","url":"https://groups.google.com/g/golang-dev/c/S9POB9NCTdk"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-3107","review_status":"REVIEWED"}}