CVE-2018-20303

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductGogs
PublishedDec 20, 2018
First seenDec 20, 2018

How to fix

Update
  • gogs gogs0.11.82.1218 or later
  • gogs.io/gogs0.11.80-0.20181218063808-ff93d9dbda5c or later

Affected products

ProductAffected versionsFixed in
gogs gogsv < 0.11.82.12180.11.82.1218
gogs.io/gogsGov < 0.11.80-0.20181218063808-ff93d9dbda5c0.11.80-0.20181218063808-ff93d9dbda5c

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.