GHSA-9hxg-w7qf-hh93

    Dashboard / Vulnerabilities / GHSA-9hxg-w7qf-hh93

    GHSA-9hxg-w7qf-hh93

    Published: 14 May 2022Last Modified: 14 May 2026

    Summary: Gogs Directory Traversal

    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: gogs.io/gogs

    Purl: pkg:golang/gogs.io/gogs

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.11.80-0.20181218063808-ff93d9dbda5c

    Affected versions

    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