HIGH7.5
GHSA-9hxg-w7qf-hh93
Gogs Directory Traversal
Quick fix
GHSA-9hxg-w7qf-hh93 — gogs.io/gogs: upgrade to the fixed version with the command below.
go get gogs.io/gogs@v0.11.80-0.20181218063808-ff93d9dbda5cDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/gogs.io/gogs
Introduced in:
0Fixed in: 0.11.80-0.20181218063808-ff93d9dbda5cFix
go get gogs.io/gogs@v0.11.80-0.20181218063808-ff93d9dbda5c