7.5

CVE-2018-20303: gogs Path Traversal

CVSS: 7.5v3.0HighModified
AliasesGHSA-9hxg-w7qf-hh93
Published 20-12-2018Last modified 05-08-2024

Vulnerability summary

CVE-2018-20303 is a high (CVSS 7.5) Path Traversal vulnerability in gogs. EPSS estimates a 3.20% chance of exploitation in the next 30 days, higher than 87.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
3.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Timeline

  1. 20-12-2018
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

3.20%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

0.00 pp

From 3.20% on 18-09-2026

18-09-202618-10-2026
EPSS score
3.20%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (pentesterlab.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Gogs1 product
Gogs.io1 product
  • gogs< 0.11.80-0.20181218063808-ff93d9dbda5c

2 vendors · 2 products

References

6 links