{"id":"CVE-2018-25059","published":"2022-12-30T10:57:46Z","modified":"2024-08-05T12:26:39Z","title":"pastebinit server.go pasteHandler path traversal","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00832,"percentile":0.58496,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://vuldb.com/?id.217040","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.217040","tags":["signature","permissions-required"]},{"url":"https://github.com/jessfraz/pastebinit/pull/3","tags":["issue-tracking"]},{"url":"https://github.com/jessfraz/pastebinit/commit/1af2facb6d95976c532b7f8f82747d454a092272","tags":["patch"]},{"url":"https://github.com/jessfraz/pastebinit/releases/tag/v0.2.3","tags":["patch"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":11.7},{"name":"CVSS severity","points":2.45}]},"affectedVersions":[{"vendor":"n/a","product":"pastebinit","versions":["0.2.0","0.2.1","0.2.2"]}],"affected":[{"ecosystem":"Go","package":"github.com/jessfraz/pastebinit","vulnerableRanges":["<0.2.3"],"patched":["0.2.3"],"from":["GHSA-cwh7-28vg-jmpr","GO-2022-1212"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the pasteHandler function of server.go in pastebinit, affecting versions up to 0.2.2. Through manipulation of the r.URL.Path argument, an attacker with network access and low-privilege authentication, requiring no user interaction, can reach files outside the intended restricted directory, with a limited confidentiality impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:18Z"},"euvd":{"id":"EUVD-2022-7606","exploited":false,"provenance":"source"}}