{"id":"GO-2022-0492","summary":"Path traversal in github.com/argoproj/argo-events","details":"GitArtifactReader is vulnerable to directory traversal attacks.\n\nThe GitArtifactReader.Read function reads and returns the contents of a Git repository file. A maliciously crafted repository can exploit this to cause Read to read from arbitrary files on the filesystem.","aliases":["CVE-2022-25856","GHSA-qpgx-64h2-gc3c","SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522"],"modified":"2026-07-08T06:50:01.357506478Z","published":"2022-07-15T23:30:03Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0492"},"references":[{"type":"FIX","url":"https://github.com/argoproj/argo-events/pull/1965"},{"type":"WEB","url":"https://github.com/argoproj/argo-events/issues/1947"}],"affected":[{"package":{"name":"github.com/argoproj/argo-events","ecosystem":"Go","purl":"pkg:golang/github.com/argoproj/argo-events"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.1"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/argoproj/argo-events/sensors/artifacts","symbols":["GetArtifactReader","NewGitReader"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0492.json"}}],"schema_version":"1.7.5","credits":[{"name":"Derek Wang"}]}