Skip to content
OpenAdvisories
Critical · 9.1 CVE-2020-36566 EUVD-2022-7667GHSA-jpf8-h7h7-3ppmGO-2021-0106

Path traversal in github.com/whyrusleeping/tar-utils

Published Dec 27, 2022 · Updated Apr 11, 2025 · Assigned by Go

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 products

VendorProductAffectedFixed
github.com/whyrusleeping/tar-utils github.com/whyrusleeping/tar-utils < 0.0.0-20201201191210-20a61371de5b 0.0.0-20201201191210-20a61371de5b

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/whyrusleeping/tar-utils < 0.0.0-20201201191210-20a61371de5b 0.0.0-20201201191210-20a61371de5b GHSA-jpf8-h7h7-3ppm

References