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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-3398 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.
Github GHSA Github GHSA GHSA-9hxg-w7qf-hh93 Gogs Directory Traversal
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T11:58:18.905Z

Reserved: 2018-12-19T00:00:00

Link: CVE-2018-20303

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-12-20T00:29:00.350

Modified: 2024-11-21T04:01:11.470

Link: CVE-2018-20303

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses