/
GHSA-6vcc-v9vw-g2x5.json
73 lines (73 loc) · 2.05 KB
/
GHSA-6vcc-v9vw-g2x5.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"schema_version": "1.4.0",
"id": "GHSA-6vcc-v9vw-g2x5",
"modified": "2022-06-17T19:20:55Z",
"published": "2022-06-08T22:34:23Z",
"aliases": [
"CVE-2022-1993"
],
"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",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "gogs.io/gogs"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.12.9"
}
]
}
]
}
],
"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"
}
],
"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"
}
}