| { |
| "schema_version": "1.3.1", |
| "id": "GO-2022-0346", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2022-07-15T23:30:27Z", |
| "aliases": [ |
| "CVE-2021-3762", |
| "GHSA-mq47-6wwv-v79w" |
| ], |
| "summary": "Path traversal in github.com/quay/claircore", |
| "details": "A maliciously crafted RPM file can cause the Scanner.Scan function to write files with arbitrary contents to arbitrary locations on the local filestem.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/quay/claircore", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.1.0" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/quay/claircore/rpm", |
| "symbols": [ |
| "Scanner.Scan" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/quay/claircore/pull/478" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/quay/claircore/commit/691f2023a1720a0579e688b69a2f4bfe1f4b7821" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0346", |
| "review_status": "REVIEWED" |
| } |
| } |