critical9.1
CVE-2020-36566
tar-utils Path Traversal vulnerability
Impact
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/whyrusleeping/tar-utils | < 0.0.0-20201201191210-20a61371de5b | 0.0.0-20201201191210-20a61371de5b |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Tar-Utils Project | Tar-Utils | before 0.0.0-20201201191210-20a61371de5b |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/whyrusleeping/tar-utils/commit/20a61371de5b51380bbdb0c7935b30b0625ac227
- https://pkg.go.dev/vuln/GO-2021-0106
- https://snyk.io/research/zip-slip-vulnerability
- https://github.com/advisories/GHSA-jpf8-h7h7-3ppm
- https://nvd.nist.gov/vuln/detail/CVE-2020-36566