CVE-2018-25059
MEDIUM 5.3CVSS 3.1pastebinit Path Traversal vulnerability
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.
- Published
- 30 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-cwh7-28vg-jmprGO-2022-1212
- Sources
- NVDJSONOSV GHSA-cwh7-28vg-jmprJSONOSV GO-2022-1212JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.7 | AV:A/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pastebinit_project | pastebinitcpe:2.3:a:pastebinit_project:pastebinit:*:*:*:*:*:*:*:* |
<= 0.2.2 | |
| OSV | Go | github.com/jessfraz/pastebinit | < 0.2.3 | 0.2.3 |
References
- https://github.com/jessfraz/pastebinit/commit/1af2facb6d95976c532b7f8f82747d454a092272 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/jessfraz/pastebinit/pull/3 · Issue Tracking, Patch, Third Party Advisory, WEB, FIX
- https://github.com/jessfraz/pastebinit/releases/tag/v0.2.3 · Release Notes, Third Party Advisory, WEB
- https://vuldb.com/?ctiid.217040 · Third Party Advisory, WEB
- https://vuldb.com/?id.217040 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-25059 · ADVISORY
- https://github.com/jessfraz/pastebinit · PACKAGE
- https://github.com/advisories/GHSA-cwh7-28vg-jmpr · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 30 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Dec 2022)