{"id":"CVE-2022-25856","published":"2022-06-17T20:00:17Z","modified":"2024-09-17T04:24:21Z","title":"Directory Traversal","vendor":null,"product":null,"tier":"tail","description":{"text":"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 ...","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01939,"percentile":0.80639,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961","tags":["x_refsource_MISC"]},{"url":"https://github.com/argoproj/argo-events/issues/1947","tags":["x_refsource_MISC"]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":16.13},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/argoproj/argo-events/sensors/artifacts","versions":[">= unspecified, < 1.7.1"]}],"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-events","vulnerableRanges":["<1.7.1"],"patched":["1.7.1"],"from":["GHSA-qpgx-64h2-gc3c","GO-2022-0492"],"provenance":"source"}],"summary":{"text":"A directory traversal flaw exists in the Argo Events sensor artifacts package (github.com/argoproj/argo-events/sensors/artifacts) before version 1.7.1, specifically in the Read() method of the GitArtifactReader in git.go. An attacker who can supply a pathname containing a symbolic link or an implicit directory name such as \"...\" to that reader can read arbitrary files, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:19Z"},"euvd":{"id":"EUVD-2022-6135","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-argoproj-argo-events-cve-2022-31054","parents":[{"from":"CVE-2022-31054","to":"CVE-2022-25856","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["sensors/artifacts/git.go"],"commits":["https://github.com/argoproj/argo-events/commit/d0f66dbce78bc31923ca057b20fc722aa24ca961","https://github.com/argoproj/argo-events/commit/eaabcb6d65022fc34a0cc9ea7f00681abd326b35"],"basis":"shared function","functions":["readFromRepository"]}]}]}}