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.
Severity
LOW
CVSS v3
3.5
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N · source cna
Exploit chance (EPSS)
0.832%
chance of exploitation in the next 30 days
higher than 58.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Timeline
- 2022-12-30Published by the CNA10:57 UTC
- 2022-12-30GitHub advisory published (GHSA-cwh7-28vg-jmpr)same day
Exploit and advisory records
GitHub advisory GHSA-cwh7-28vg-jmpr, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/jessfraz/pastebinit | before 0.2.3 | 0.2.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pastebinit_project pastebinit | through 0.2.2no fix listed | not listed |
References
- https://github.com/jessfraz/pastebinit/commit/1af2facb6d95976c532b7f8f82747d454a092272
- https://github.com/jessfraz/pastebinit/pull/3
- https://github.com/jessfraz/pastebinit/releases/tag/v0.2.3
- https://vuldb.com/?ctiid.217040
- https://vuldb.com/?id.217040
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-25059'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-25059'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-25059'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-25059'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).