Improper path sanitization in github.com/goadesign/goa before v3.0.9, v2.0.10, or v1.4.3 allow remote attackers to read files outside of the intended directory.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/goadesign/goa/pull/2388 | third party advisory exploit |
https://github.com/goadesign/goa/commit/70b5a199d0f813d74423993832c424e1fc73fb39 | third party advisory patch |
https://pkg.go.dev/vuln/GO-2020-0032 | third party advisory |