{"id":"CVE-2020-36566","aliases":["EUVD-2022-7667","GHSA-jpf8-h7h7-3ppm","GO-2021-0106"],"status":"published","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.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01111,"percentile":0.66207,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2021-07-28T18:08:05Z","modified":"2026-10-20T10:54:21Z","fixes":[{"ecosystem":"Go","package":"github.com/whyrusleeping/tar-utils","fixed_in":["0.0.0-20201201191210-20a61371de5b"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/whyrusleeping/tar-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.0-20201201191210-20a61371de5b"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/whyrusleeping/tar-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20201201191210-20a61371de5b"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/whyrusleeping/tar-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20201201191210-20a61371de5b"}]}]}],"products":[{"vendor":"github.com/whyrusleeping/tar-utils","product":"github.com/whyrusleeping/tar-utils"},{"vendor":"tar-utils_project","product":"tar-utils"}],"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/advisories/GHSA-jpf8-h7h7-3ppm"},{"url":"https://github.com/whyrusleeping/tar-utils","tags":["package"]}],"sources":{"cve":[{"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.","status":"published","published":"2022-12-27T21:13:44.009Z","modified":"2025-04-11T16:22:21.352Z","cvss":[{"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","level":"critical","assessor":"adp"}],"updated_at":"2026-11-02T14:35:54.80237Z"}],"euvd":[{"id":"EUVD-2022-7667","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-27T21:13:44Z","modified":"2025-04-11T16:22:21Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T20:52:34.493984Z"}],"ghsa":[{"id":"GHSA-jpf8-h7h7-3ppm","title":"tar-utils Path Traversal vulnerability","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-08-30T11:49:22Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:02.095916Z"}],"nvd":[{"id":"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.","status":"published","published":"2022-12-27T22:15:11.723Z","modified":"2026-06-17T03:15:45.333Z","cvss":[{"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","level":"critical","assessor":"primary"},{"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:47.286386Z"}],"osv":[{"id":"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.","status":"published","published":"2022-12-27T22:15:11.723Z","modified":"2026-10-20T10:54:21.188290828Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:16.936975Z"},{"id":"GHSA-jpf8-h7h7-3ppm","title":"tar-utils Path Traversal vulnerability","description":"Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.","status":"published","published":"2022-12-28T00:30:23Z","modified":"2023-11-08T04:03:47.788921Z","cvss":[{"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","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:50.687609Z"},{"id":"GO-2021-0106","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.","status":"published","published":"2021-07-28T18:08:05Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
