pastebinit server.go pasteHandler path traversal
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | pastebinit | 0.2.0; 0.2.1; 0.2.2 | — | No fix listed | CNA |
| — | github.com/jessfraz/pastebinit (Go) | before 0.2.3 | 0.2.3 | Patch available | GHSA-cwh7-28vg-jmpr |
- pastebinit Vendor— Affected 0.2.0; 0.2.1; 0.2.2 Fixed in — No fix listed CNA
- github.com/jessfraz/pastebinit (Go) Vendor— Affected before 0.2.3 Fixed in 0.2.3 Patch available GHSA-cwh7-28vg-jmpr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:pastebinit_project:pastebinit:*:*:*:*:*:*:*:* | up to 0.2.2 | Vulnerable | Pastebinit Project |
- cpe:2.3:a:pastebinit_project:pastebinit:*:*:*:*:*:*:*:* Versions up to 0.2.2 Vulnerable ·Pastebinit Project
Remediation
- Fix · GHSA-cwh7-28vg-jmpr github.com/jessfraz/pastebinit (Go) Fixed in 0.2.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-25059
- 2026-10-03 Alias added: GHSA-cwh7-28vg-jmpr
References
Sources
- CVE-2018-25059 · CVE Program
- CVE-2018-25059 · NVD
- FIRST EPSS
- GHSA-cwh7-28vg-jmpr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences