{"id":"GO-2020-0032","summary":"Path traversal in github.com/goadesign/goa","details":"Due to improper sanitization of user input, Controller.FileHandler allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.","aliases":["CVE-2019-25073","GHSA-fjgq-224f-fq37"],"modified":"2024-05-20T16:03:47Z","published":"2021-04-14T20:04:52Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2020-0032"},"references":[{"type":"FIX","url":"https://github.com/goadesign/goa/pull/2388"},{"type":"FIX","url":"https://github.com/goadesign/goa/commit/70b5a199d0f813d74423993832c424e1fc73fb39"}],"affected":[{"package":{"name":"github.com/goadesign/goa","ecosystem":"Go","purl":"pkg:golang/github.com/goadesign/goa"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/goadesign/goa","symbols":["Controller.FileHandler","Service.ListenAndServe","Service.ListenAndServeTLS","Service.Serve","mux.ServeHTTP"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0032.json"}},{"package":{"name":"goa.design/goa","ecosystem":"Go","purl":"pkg:golang/goa.design/goa"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}],"ecosystem_specific":{"imports":[{"symbols":["Controller.FileHandler"],"path":"goa.design/goa"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0032.json"}},{"package":{"name":"goa.design/goa/v3","ecosystem":"Go","purl":"pkg:golang/goa.design/goa/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.9"}]}],"ecosystem_specific":{"imports":[{"path":"goa.design/goa/v3","symbols":["Controller.FileHandler"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2020-0032.json"}}],"schema_version":"1.7.3","credits":[{"name":"@christi3k"}]}