blob: a0bd3ff4342b00a4837d4fb6e3fc15f385e3f0c3 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0492",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-15T23:30:03Z",
"aliases": [
"CVE-2022-25856",
"GHSA-qpgx-64h2-gc3c"
],
"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.",
"affected": [
{
"package": {
"name": "github.com/argoproj/argo-events",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.1"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/argoproj/argo-events/sensors/artifacts",
"symbols": [
"GetArtifactReader",
"NewGitReader"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/argoproj/argo-events/pull/1965"
},
{
"type": "WEB",
"url": "https://github.com/argoproj/argo-events/issues/1947"
}
],
"credits": [
{
"name": "Derek Wang"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0492",
"review_status": "REVIEWED"
}
}