cve.bz

CVE-2018-20303

7.5 highEPSS 3.3%

High (7.5) in gogs gogs. EPSS 3.3% chance of exploitation in the next 30 days. Fixed in gogs.io/gogs 0.11.80-0.20181218063808-ff93d9dbda5c.

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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
3.3% chance of exploitation in the next 30 days; higher than 88% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9hxg-w7qf-hh93Gogogs.io/gogs<0.11.80-0.20181218063808-ff93d9dbda5c0.11.80-0.20181218063808-ff93d9dbda5c

References

Check your stackJSON