GitHub Advisoryadvisory · Go
GHSA-cwh7-28vg-jmpr pastebinit Path Traversal vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2018-25059
- Ecosystem
- Go
- Packages
- github.com/jessfraz/pastebinit
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2023-01-03
Affected packages
• Go github.com/jessfraz/pastebinit: < 0.2.3 → fixed in 0.2.3
Description
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 can 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.
Related
Alias · CVE (1)
- CVE-2018-25059 A vulnerability was found in pastebinit up to 0.2.2 and classified as problematic. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-25059 advisory
- https://github.com/jessfraz/pastebinit/pull/3 web
- https://github.com/jessfraz/pastebinit/commit/1af2facb6d95976c532b7f8f82747d454a092272 web
- https://github.com/jessfraz/pastebinit package
- https://github.com/jessfraz/pastebinit/releases/tag/v0.2.3 web
- https://vuldb.com/?ctiid.217040 web
- https://vuldb.com/?id.217040 web