Advisory

GO-2022-0492

Also known as: CVE-2022-25856, GHSA-qpgx-64h2-gc3c, SNYK-GOLANG-GITHUBCOMARGOPROJARGOEVENTSSENSORSARTIFACTS-2864522

Summary

Path traversal in github.com/argoproj/argo-events

Details

GitArtifactReader is vulnerable to directory traversal attacks.

The 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.

Severity

Not rated by the source.

Dates

Published
2022-07-15 23:30 UTC
Modified
2026-07-08 06:50 UTC

Affected packages and fixes

github.com/argoproj/argo-events

Go · All systems

Affected

  • introduced 0, fixed 1.7.1 (semver)

Fixed versions

1.7.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences