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/22f9c074-cf60-4c67-b5c4-72fdf312609d | third party advisory exploit |
https://github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf | third party advisory patch |