Live threats

All CVEs / Tar-utils Project

CVE-2020-36566Tar-utils Project Tar-utils

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tar-utils.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
tar-utils_projecttar-utils< 0.0.0-20201201191210-20a61371de5b

Official sources

References

Links published by the sources. Open them with care.