{"id":"GO-2021-0106","summary":"Path traversal in github.com/whyrusleeping/tar-utils","details":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","aliases":["CVE-2020-36566","GHSA-jpf8-h7h7-3ppm"],"modified":"2024-05-20T16:03:47Z","published":"2021-07-28T18:08:05Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2021-0106"},"references":[{"type":"FIX","url":"https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"affected":[{"package":{"name":"github.com/whyrusleeping/tar-utils","ecosystem":"Go","purl":"pkg:golang/github.com/whyrusleeping/tar-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20201201191210-20a61371de5b"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/whyrusleeping/tar-utils","symbols":["Extractor.Extract","Extractor.outputPath"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2021-0106.json"}}],"schema_version":"1.7.3"}