{"id":"CVE-2018-25059","aliases":["EUVD-2022-7606","GHSA-cwh7-28vg-jmpr","GO-2022-1212"],"status":"published","title":"pastebinit server.go pasteHandler path traversal","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 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.","severity":{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00832,"percentile":0.57843,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2022-12-30T10:57:46Z","modified":"2026-10-20T10:50:07Z","fixes":[{"ecosystem":"Go","package":"github.com/jessfraz/pastebinit","fixed_in":["0.2.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/jessfraz/pastebinit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/jessfraz/pastebinit","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/jessfraz/pastebinit","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.3"}]}]}],"products":[{"vendor":"pastebinit_project","product":"pastebinit"}],"references":[{"url":"https://vuldb.com/?id.217040","tags":["vdb-entry","technical-description","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://vuldb.com/?ctiid.217040","tags":["signature","permissions-required","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/jessfraz/pastebinit/pull/3","tags":["issue-tracking","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jessfraz/pastebinit/commit/1af2facb6d95976c532b7f8f82747d454a092272","tags":["patch","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jessfraz/pastebinit/releases/tag/v0.2.3","tags":["patch","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25059","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-cwh7-28vg-jmpr","tags":["advisory"]},{"url":"https://github.com/jessfraz/pastebinit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-25059","title":"pastebinit server.go pasteHandler path traversal","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 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.","status":"published","published":"2022-12-30T10:57:46.306Z","modified":"2024-08-05T12:26:39.66Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"},{"version":"3.0","score":3.5,"vector":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"cna"},{"version":"2.0","score":2.7,"vector":"AV:A/AC:L/Au:S/C:P/I:N/A:N","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:35:02.289647Z"}],"euvd":[{"id":"EUVD-2022-7606","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 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.","status":"published","published":"2022-12-30T10:57:46Z","modified":"2024-08-05T12:26:39Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low"}],"updated_at":"2026-11-03T02:39:27.400094Z"}],"ghsa":[{"id":"GHSA-cwh7-28vg-jmpr","title":"pastebinit Path Traversal vulnerability","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.","status":"published","published":"2022-12-30T12:30:25Z","modified":"2023-02-03T05:01:32Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:41.967989Z"}],"nvd":[{"id":"CVE-2018-25059","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 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.","status":"published","published":"2022-12-30T11:15:10.13Z","modified":"2026-06-17T01:54:37.547Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":2.7,"vector":"AV:A/AC:L/Au:S/C:P/I:N/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:05:00.565712Z"}],"osv":[{"id":"CVE-2018-25059","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 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.","status":"published","published":"2022-12-30T11:15:10.13Z","modified":"2026-10-20T10:50:07.744210023Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"GHSA-cwh7-28vg-jmpr","title":"pastebinit Path Traversal vulnerability","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.","status":"published","published":"2022-12-30T12:30:25Z","modified":"2024-08-21T16:28:35.35227Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:45.639885Z"},{"id":"GO-2022-1212","title":"pastebinit Path Traversal vulnerability in github.com/jessfraz/pastebinit","description":"pastebinit Path Traversal vulnerability in github.com/jessfraz/pastebinit","status":"published","published":"2024-08-21T16:03:59Z","modified":"2026-03-03T04:52:59.028555Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
