GitHub Advisoryadvisory · Go

GHSA-jpf8-h7h7-3ppm tar-utils Path Traversal vulnerability

CRITICAL Published 2022-12-28 Modified 2023-08-30 Official page ↗
Aliases
CVE-2020-36566
Ecosystem
Go
Packages
github.com/whyrusleeping/tar-utils
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-22
Reviewed
2022-12-30

Affected packages

• Go github.com/whyrusleeping/tar-utils: < 0.0.0-20201201191210-20a61371de5b → fixed in 0.0.0-20201201191210-20a61371de5b

Description

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Related

Alias · CVE (1)

  • CVE-2020-36566 Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References