{"api_version":"1","generated_at":"2026-07-23T14:07:43+00:00","cve":"CVE-2020-36566","urls":{"html":"https://cve.report/CVE-2020-36566","api":"https://cve.report/api/cve/CVE-2020-36566.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-36566","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-36566"},"summary":{"title":"CVE-2020-36566","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://pkg.go.dev/vuln/GO-2021-0106","name":"https://pkg.go.dev/vuln/GO-2021-0106","refsource":"MISC","tags":[],"title":"GO-2021-0106 - Go Packages","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"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://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227","name":"https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227","refsource":"MISC","tags":[],"title":"more closely match default tar errors (GNU + BSD binaries) · whyrusleeping/tar-utils@20a6137 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-36566","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36566","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"36566","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"tar-utils_project","cpe5":"tar-utils","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-36566","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 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"github.com/whyrusleeping/tar-utils","product":{"product_data":[{"product_name":"github.com/whyrusleeping/tar-utils","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"0.0.0-20201201191210-20a61371de5b"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227","refsource":"MISC","name":"https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227"},{"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-2021-0106","refsource":"MISC","name":"https://pkg.go.dev/vuln/GO-2021-0106"}]}},"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:tar-utils_project:tar-utils:*:*:*:*:*:go:*:*","versionEndExcluding":"0.0.0-20201201191210-20a61371de5b","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}