CVE-2018-20303

    Dashboard / Vulnerabilities / CVE-2018-20303

    CVE-2018-20303

    Published: 20 Dec 2018Last Modified: 8 Jul 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v0.11.79
    v0.11.66
    v0.11.53
    v0.11.43
    v0.11.34
    v0.11.33
    v0.11.29
    v0.11.19
    v0.11.4
    v0.11

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High