{ "schema_version": "1.4.0", "id": "GHSA-rmj9-q58g-9qgg", "modified": "2023-01-10T15:55:39Z", "published": "2022-12-28T00:30:23Z", "aliases": [ "CVE-2020-36560" ], "summary": "go-unzip vulnerable to Path Traversal", "details": "Due to improper path santization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/artdarek/go-unzip" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "2.0.0" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36560" }, { "type": "WEB", "url": "https://github.com/artdarek/go-unzip/pull/2" }, { "type": "WEB", "url": "https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0" }, { "type": "PACKAGE", "url": "https://github.com/artdarek/go-unzip" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2020-0034" }, { "type": "WEB", "url": "https://snyk.io/research/zip-slip-vulnerability" } ], "database_specific": { "cwe_ids": [ "CWE-22" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-12-30T19:06:21Z", "nvd_published_at": "2022-12-27T22:15:00Z" } }