| { |
| "schema_version": "1.3.1", |
| "id": "GO-2021-0106", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2021-07-28T18:08:05Z", |
| "aliases": [ |
| "CVE-2020-36566", |
| "GHSA-jpf8-h7h7-3ppm" |
| ], |
| "summary": "Path traversal in github.com/whyrusleeping/tar-utils", |
| "details": "Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/whyrusleeping/tar-utils", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "0.0.0-20201201191210-20a61371de5b" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/whyrusleeping/tar-utils", |
| "symbols": [ |
| "Extractor.Extract", |
| "Extractor.outputPath" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://snyk.io/research/zip-slip-vulnerability" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2021-0106", |
| "review_status": "REVIEWED" |
| } |
| } |