Skip to content
OpenAdvisories
High · 7.5 CVE-2018-20303 EUVD-2022-3398GHSA-9hxg-w7qf-hh93

Gogs Directory Traversal

Published Dec 20, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.11.80-0.20181218063808-ff93d9dbda5c 0.11.80-0.20181218063808-ff93d9dbda5c GHSA-9hxg-w7qf-hh93

References