Vulnerability Details : CVE-2022-25856
Potential exploit
The package github.com/argoproj/argo-events/sensors/artifacts before 1.7.1 are vulnerable to Directory Traversal in the (g *GitArtifactReader).Read() API in git.go. This could allow arbitrary file reads if the GitArtifactReader is provided a pathname containing a symbolic link or an implicit directory name such as ...
Vulnerability category: Directory traversal
Products affected by CVE-2022-25856
- cpe:2.3:a:argo_events_project:argo_events:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25856
0.23%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 43 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25856
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
Snyk |
CWE ids for CVE-2022-25856
-
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)
References for CVE-2022-25856
-
https://github.com/argoproj/argo-events/issues/1947
Insecure path traversal in Git Trigger Source can lead to arbitrary file read · Issue #1947 · argoproj/argo-events · GitHubExploit;Issue Tracking;Third Party Advisory
-
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522
Directory Traversal in github.com/argoproj/argo-events/sensors/artifacts | CVE-2022-25856 | SnykExploit;Patch;Third Party Advisory
-
https://github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961
fix: git artifactory arbitrary file read issue (#1965) · argoproj/argo-events@d0f66db · GitHubPatch;Third Party Advisory
Jump to