CVE-2020-29529Path Traversal in Hashicorp Go-slug

Severity
7.5HIGHNVD
EPSS
0.4%
top 36.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 3
Latest updateFeb 6

Description

HashiCorp go-slug up to 0.4.3 did not fully protect against directory traversal while unpacking tar archives, and protections could be bypassed with specific constructions of multiple symlinks. Fixed in 0.5.0.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDhashicorp/go-slug< 0.5.0
debiandebian/golang-github-hashicorp-go-slug< golang-github-hashicorp-go-slug 0.5.0-1 (bookworm)

Patches

🔴Vulnerability Details

4
OSV
Unsafe tar unpacking in HashiCorp go-slug2023-02-06
GHSA
Unsafe tar unpacking in HashiCorp go-slug2023-02-06
OSV
Directory traversal in github.com/hashicorp/go-slug2021-04-14
OSV
CVE-2020-29529: HashiCorp go-slug up to 02020-12-03

📋Vendor Advisories

2
Red Hat
go-slug: partial protection against zip slip attacks2020-12-03
Debian
CVE-2020-29529: golang-github-hashicorp-go-slug - HashiCorp go-slug up to 0.4.3 did not fully protect against directory traversal ...2020