CVE-2020-36566Tar-utils Project Tar-utils
Critical 9.1 No auth needed
Follow: this CVE · Tar-utils Project · Tar-utils Project Tar-utils We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Dec 27, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
What happens
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
What to do
- Apply the vendor's security update for Tar-utils.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/whyrusleeping/tar-utils |
< 0.0.0-20201201191210-20a61371de5b |
0.0.0-20201201191210-20a61371de5b |
go get github.com/whyrusleeping/tar-utils@v0.0.0-20201201191210-20a61371de5b |
| Go | github.com/whyrusleeping/tar-utils |
< 0.0.0-20201201191210-20a61371de5b |
0.0.0-20201201191210-20a61371de5b |
go get github.com/whyrusleeping/tar-utils@v0.0.0-20201201191210-20a61371de5b |
Per OSV / GitHub Advisories (GHSA-jpf8-h7h7-3ppm, GO-2021-0106). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tar-utils_project | tar-utils | < 0.0.0-20201201191210-20a61371de5b |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- pkg.go.dev Third Party Advisory
- snyk.io Technical Description Third Party Advisory