Skip to content
OpenAdvisories
High · 7.5 CVE-2025-0377 EUVD-2025-0202GHSA-wpfp-cm49-9m9qGO-2025-3413

HashiCorp go-slug Vulnerable to Zip Slip Attack

Published Jan 21, 2025 · Updated Feb 12, 2025 · Assigned by HashiCorp

Description

HashiCorp’s go-slug library is vulnerable to a zip-slip style attack when a non-existing user-provided path is extracted from the tar entry.

Affected products

VendorProductAffectedFixed
HashiCorp Shared library < 0.16.2 0.16.2

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
SLES 15 SP6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250128T150132-1.1 openSUSE-SU-2025:14710-1
openSUSE Tumbleweed helmfile 0.170.1-1.1 openSUSE-SU-2025:14684-1
openSUSE Leap 16.0 helmfile 1.1.9-bp160.1.1 openSUSE-SU-2025:20097-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opentofu-1.9 1.9.0-r2 —
Wolfi rolling terraform 1.5.7-r21 —
Wolfi rolling terraform-compat +1 1.5.7-r36 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/hashicorp/go-slug < 0.16.3 0.16.3 GHSA-wpfp-cm49-9m9q

Advisories 4

References