{"api_version":"1","generated_at":"2026-07-23T15:01:03+00:00","cve":"CVE-2020-36560","urls":{"html":"https://cve.report/CVE-2020-36560","api":"https://cve.report/api/cve/CVE-2020-36560.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-36560","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-36560"},"summary":{"title":"CVE-2020-36560","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","state":"PUBLIC","assigner":"security@golang.org","published_at":"2022-12-27 22:15:00","updated_at":"2023-06-08 21:15:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0","name":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0","refsource":"MISC","tags":[],"title":"Merge pull request #2 from snoopysecurity/fix/santize-filename-paths · artdarek/go-unzip@4975cbe · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/artdarek/go-unzip/pull/2","name":"https://github.com/artdarek/go-unzip/pull/2","refsource":"MISC","tags":[],"title":"fix: sanitize filepath names by snoopysecurity · Pull Request #2 · artdarek/go-unzip · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://snyk.io/research/zip-slip-vulnerability","name":"https://snyk.io/research/zip-slip-vulnerability","refsource":"MISC","tags":[],"title":"Zip Slip Vulnerability | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://pkg.go.dev/vuln/GO-2020-0034","name":"https://pkg.go.dev/vuln/GO-2020-0034","refsource":"MISC","tags":[],"title":"GO-2020-0034 - Go Packages","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36560","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36560","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"36560","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"go-unzip_project","cpe5":"go-unzip","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2020-36560","ASSIGNER":"security@golang.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE 29: Path Traversal: \"\\..\\filename\""}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"github.com/artdarek/go-unzip","product":{"product_data":[{"product_name":"github.com/artdarek/go-unzip","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"1.0.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/artdarek/go-unzip/pull/2","refsource":"MISC","name":"https://github.com/artdarek/go-unzip/pull/2"},{"url":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0","refsource":"MISC","name":"https://github.com/artdarek/go-unzip/commit/4975cbe0a719dc50b12da8585f1f207c82f7dfe0"},{"url":"https://snyk.io/research/zip-slip-vulnerability","refsource":"MISC","name":"https://snyk.io/research/zip-slip-vulnerability"},{"url":"https://pkg.go.dev/vuln/GO-2020-0034","refsource":"MISC","name":"https://pkg.go.dev/vuln/GO-2020-0034"}]}},"nvd":{"publishedDate":"2022-12-27 22:15:00","lastModifiedDate":"2023-06-08 21:15:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.2}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:go-unzip_project:go-unzip:*:*:*:*:*:go:*:*","versionEndExcluding":"1.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}