Go Vulnerability Database
GO-2021-0106
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/whyrusleeping/tar-utils | All versions before 0.0.0-20201201191210-20a61371de5b (fixed in 0.0.0-20201201191210-20a61371de5b) |