CVE-2022-25856
HIGH 7.5CVSS 3.1Insecure path traversal in Git Trigger Source can lead to arbitrary file read
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 ...
- Published
- 17 Jun 2022
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-qpgx-64h2-gc3cGO-2022-0492SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522
- Sources
- NVDJSONOSV GHSA-qpgx-64h2-gc3cJSONOSV GO-2022-0492JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | argo_events_project | argo_eventscpe:2.3:a:argo_events_project:argo_events:*:*:*:*:*:*:*:* |
< 1.7.1 | 1.7.1 |
| OSV | Go | github.com/argoproj/argo-events | < 1.7.1 | 1.7.1 |
References
- https://github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961 · Patch, Third Party Advisory, WEB
- https://github.com/argoproj/argo-events/issues/1947 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522 · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/argoproj/argo-events/security/advisories/GHSA-qpgx-64h2-gc3c · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25856 · ADVISORY
- https://github.com/argoproj/argo-events/pull/1965 · WEB, FIX
- https://github.com/argoproj/argo-events · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-0492 · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Jul 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)