Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
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://huntr.dev/bounties/2e8cdc57-a9cf-46ae-9088-87f09e6c90ab | third party advisory exploit |
https://github.com/gogs/gogs/commit/2ca014250fbf0bba94c914d9e43b1f6d8eca3bb0 | third party advisory patch |