First published: Thu Dec 20 2018(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Gogs Gogs | <0.11.82.1218 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-20303 is a vulnerability in Gogs before version 0.11.82.1218 that allows directory traversal in the file-upload functionality.
CVE-2018-20303 has a severity value of 7.5, which is considered high.
The vulnerability affects Gogs versions up to, but not including, 0.11.82.1218.
To fix CVE-2018-20303, you should upgrade Gogs to version 0.11.82.1218 or later.
You can find more information about CVE-2018-20303 at the following references: [1] [2] [3]