{"id":"GHSA-6vcc-v9vw-g2x5","summary":"Path Traversal in Git HTTP endpoints in Gogs","details":"### Impact\n\nThe malicious user is able to craft HTTP requests to access unauthorized Git directories. All installations with are affected.\n\n### Patches\n\nPath cleaning has accommodated for Git HTTP endpoints. Users should upgrade to 0.12.9 or the latest 0.13.0+dev.\n\n### Workarounds\n\nN/A\n\n### References\n\nhttps://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d/\n\n### For more information\n\nIf you have any questions or comments about this advisory, please post on #7002.\n","aliases":["CVE-2022-1993","GO-2022-0562"],"modified":"2024-08-21T15:26:38.754648Z","published":"2022-06-08T22:34:23Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-06-08T22:34:23Z","nvd_published_at":"2022-06-09T17:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/security/advisories/GHSA-6vcc-v9vw-g2x5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1993"},{"type":"WEB","url":"https://github.com/gogs/gogs/issues/7002"},{"type":"WEB","url":"https://github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf"},{"type":"PACKAGE","url":"https://github.com/gogs/gogs"},{"type":"WEB","url":"https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d"}],"affected":[{"package":{"name":"gogs.io/gogs","ecosystem":"Go","purl":"pkg:golang/gogs.io/gogs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.12.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-6vcc-v9vw-g2x5/GHSA-6vcc-v9vw-g2x5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}