CVE-2022-25856: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
(updated )
The package github.com/argoproj/argo-events/sensors/artifacts before 1.7.1 is 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 …
References
- github.com/advisories/GHSA-qpgx-64h2-gc3c
- github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961
- github.com/argoproj/argo-events/issues/1947
- github.com/argoproj/argo-events/pull/1965
- github.com/argoproj/argo-events/security/advisories/GHSA-qpgx-64h2-gc3c
- nvd.nist.gov/vuln/detail/CVE-2022-25856
- pkg.go.dev/vuln/GO-2022-0492
- snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522
Code Behaviors & Features
Detect and mitigate CVE-2022-25856 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →