| { |
| "schema_version": "1.3.1", |
| "id": "GO-2020-0034", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "2021-04-14T20:04:52Z", |
| "aliases": [ |
| "CVE-2020-36560", |
| "GHSA-rmj9-q58g-9qgg" |
| ], |
| "summary": "Path traversal in github.com/artdarek/go-unzip", |
| "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/artdarek/go-unzip", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.0.0" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/artdarek/go-unzip", |
| "symbols": [ |
| "Unzip.Extract" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/artdarek/go-unzip/pull/2" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://snyk.io/research/zip-slip-vulnerability" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2020-0034", |
| "review_status": "REVIEWED" |
| } |
| } |