Skip to content
OpenAdvisories
High · 7.5 CVE-2020-29529 EUVD-2023-0600GHSA-2g5j-5x95-r6hrGO-2021-0094

Unsafe tar unpacking in HashiCorp go-slug

Published Dec 3, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 golang-github-hashicorp-go-slug 0.5.0-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/go-slug < 0.5.0 0.5.0 GHSA-2g5j-5x95-r6hr

References