CVE-2018-20303 Gogs Directory Traversal
HighCVSS 7.5
EPSS 3.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In pkg/tool/path.go in Gogs before 0.11.82.1218, a directory traversal in the file-upload functionality can allow an attacker to create a file under data/sessions on the server, a similar issue to CVE-2018-18925.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| gogs | < 0.11.82.1218 | 0.11.82.1218 | Fixed |
| gogs.io/gogs(Go) | < 0.11.80-0.20181218063808-ff93d9dbda5c | 0.11.80-0.20181218063808-ff93d9dbda5c | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gogs.io/gogs(Go) | < 0.11.80-0.20181218063808-ff93d9dbda5c | 0.11.80-0.20181218063808-ff93d9dbda5c |
| gogs | < 0.11.82.1218 | 0.11.82.1218 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- github.com product
- pentesterlab.com exploit third-party-advisory
- github.com