Skip to content

CVE-2020-29529 Unsafe tar unpacking in HashiCorp go-slug

HighCVSS 7.5 EPSS 2.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

4 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/golang-github-hashicorp-go-slug(Ubuntu 22.04) = 0.5.0-2; = 0.7.0-1ubuntu1; All versions No fix listed No fix yet
debian/golang-github-hashicorp-go-slug(Debian 12) < 0.5.0-1 0.5.0-1 Fixed
hashicorp github.com/hashicorp/go-slug < 0.5.0 0.5.0 Fixed
hashicorp github.com/hashicorp/go-slug(Go) < 0.5.0 0.5.0 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/go-slug(Go) < 0.5.0 0.5.0
debian/golang-github-hashicorp-go-slug(Debian:12) < 0.5.0-1 0.5.0-1
hashicorp github.com/hashicorp/go-slug < 0.5.0 0.5.0
ubuntu/golang-github-hashicorp-go-slug(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-github-hashicorp-go-slug(Ubuntu:22.04) = 0.5.0-2 No fix listed
ubuntu/golang-github-hashicorp-go-slug(Ubuntu:22.04) = 0.7.0-1ubuntu1 No fix listed

References