Vulnerability Details : CVE-2022-1992
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
Vulnerability category: Directory traversal
Products affected by CVE-2022-1992
- cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-1992
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-1992
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.4
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:P |
10.0
|
4.9
|
NIST | |
10.0
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
3.9
|
6.0
|
huntr.dev | |
9.1
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
3.9
|
5.2
|
NIST |
CWE ids for CVE-2022-1992
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by:
- nvd@nist.gov (Primary)
- security@huntr.dev (Secondary)
References for CVE-2022-1992
-
https://huntr.dev/bounties/2e8cdc57-a9cf-46ae-9088-87f09e6c90ab
Path traversal leads to arbitrary file deletions and file writes vulnerability found in gogsExploit;Third Party Advisory
-
https://github.com/gogs/gogs/commit/2ca014250fbf0bba94c914d9e43b1f6d8eca3bb0
pathutil: check both styles of `os.PathSeparator` (#7020) · gogs/gogs@2ca0142 · GitHubPatch;Third Party Advisory
Jump to