GHSA-9hxg-w7qf-hh93
Dashboard / Vulnerabilities / GHSA-9hxg-w7qf-hh93
Summary: Gogs Directory Traversal
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2018-20303, https://github.com/gogs/gogs/issues/5558, https://github.com/gogs/gogs/commit/ff93d9dbda5cebe90d86e4b7dfb2c6b8642970ce, https://github.com/gogs/gogs, https://pentesterlab.com/exercises/cve-2018-18925
Affected packages
Package
Name: gogs.io/gogs
Purl: pkg:golang/gogs.io/gogs
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.11.80-0.20181218063808-ff93d9dbda5c
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
