GHSA-9hxg-w7qf-hh93

Suggest an improvement
Source
https://github.com/advisories/GHSA-9hxg-w7qf-hh93
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9hxg-w7qf-hh93/GHSA-9hxg-w7qf-hh93.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9hxg-w7qf-hh93
Aliases
Published
2022-05-14T01:37:52Z
Modified
2026-05-14T22:46:29Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2023-07-25T18:09:57Z",
    "nvd_published_at":  "2018-12-20T00:29:00Z",
    "severity":  "HIGH"
}
References

Affected packages

Go / gogs.io/gogs

Package

Name
gogs.io/gogs
View open source insights on deps.dev
Purl
pkg:golang/gogs.io/gogs

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.11.80-0.20181218063808-ff93d9dbda5c

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9hxg-w7qf-hh93/GHSA-9hxg-w7qf-hh93.json"