A vulnerability was found in pastebinit up to 0.2.2 and classified as problematic. Affected by this issue is the function pasteHandler of the file server.go. The manipulation of the argument r.URL.Path leads to path traversal. Upgrading to version 0.2.3 is able to address this issue. The name of the patch is 1af2facb6d95976c532b7f8f82747d454a092272. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217040.
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://vuldb.com/?id.217040 | third party advisory vdb entry technical description |
https://vuldb.com/?ctiid.217040 | signature third party advisory permissions required |
https://github.com/jessfraz/pastebinit/pull/3 | patch third party advisory issue tracking |
https://github.com/jessfraz/pastebinit/commit/1af2facb6d95976c532b7f8f82747d454a092272 | third party advisory patch |
https://github.com/jessfraz/pastebinit/releases/tag/v0.2.3 | patch third party advisory release notes |