Vulnerability · Published Dec 27, 2022 · Assigned by Go

CVE-2020-36566Path traversal in github.com/whyrusleeping/tar-utils

Critical 9.1

In plain English

A critical-severity security flaw in github.com/whyrusleeping/tar-utils from github.com/whyrusleeping/tar-utils. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)1.1%top 33.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/whyrusleeping/tar-utils0.0.0-20201201191210-20a61371de5bGHSA-jpf8-h7h7-3ppm
Gogithub.com/whyrusleeping/tar-utils0.0.0-20201201191210-20a61371de5bGO-2021-0106

Affected products (as reported)

VendorProductVersions
github.com/whyrusleeping/tar-utils github.com/whyrusleeping/tar-utils 0 – before 0.0.0-20201201191210-20a61371de5b

References