Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-events/sensors/artifacts
  4. ›
  5. CVE-2022-25856

CVE-2022-25856: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

June 17, 2022 (updated February 7, 2023)

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. Learn more about Dependency Scanning →

Affected versions

All versions before 1.7.1

Fixed versions

  • v1.7.1

Solution

Upgrade to version 1.7.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/argoproj/argo-events/sensors/artifacts/CVE-2022-25856.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:08 +0000.