{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36566","id":"CVE-2020-36566","title":"Path traversal in github.com/whyrusleeping/tar-utils","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","descriptionLong":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","published":"2022-12-27T21:13:44.009Z","updated":"2026-10-20T10:54:21.188290828Z","reserved":"2022-07-29T18:59:48.420Z","status":"Modified","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["github.com/whyrusleeping/tar-utils"],"affectedProducts":[{"vendor":"github.com/whyrusleeping/tar-utils","product":"github.com/whyrusleeping/tar-utils","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"0.0.0-20201201191210-20a61371de5b","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/whyrusleeping/tar-utils","purl":"pkg:golang/github.com/whyrusleeping/tar-utils","ranges":["<0.0.0-20201201191210-20a61371de5b"],"fixed":["0.0.0-20201201191210-20a61371de5b"],"advisory":"GHSA-jpf8-h7h7-3ppm"}],"cwes":["CWE-22"],"aliases":["GHSA-jpf8-h7h7-3ppm","GO-2021-0106"],"references":[{"url":"https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_transferred","Technical Description","Third Party Advisory","advisory","web"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0106","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36566","tags":["advisory"]},{"url":"https://github.com/whyrusleeping/tar-utils","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01111,"epssPercentile":0.6663,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36566","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36566","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36566","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jpf8-h7h7-3ppm","ok":true,"note":"GHSA-jpf8-h7h7-3ppm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-36566","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}