## Summary
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. This vulnerability, identified as CVE-2025-0377, is fixed in go-slug 0.16.3.
## Background
HashiCorp’s go-slug shared library offers functions for packing and unpacking Terraform Enterprise compatible slugs. Slugs are gzip compressed tar files containing Terraform configuration files.
## Details
When go-slug performs an extraction, the filename/extraction path is taken from the tar entry via the header.Name. It was discovered that the unpacking step improperly validated paths, potentially leading to path traversal, allowing an attacker to write an arbitrary file during extraction.
## Remediation
Consumers of the go-slug shared library should evaluate the risk associated with this issue in the context of their go-slug usage and upgrade go-slug to 0.16.3 or later.
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Jan 21, 2025, 3:23:53 PM
dateUpdated: Feb 12, 2025, 8:41:20 PM
4 related source bulletins · separate from aliases
openSUSE-SU-2025:14710-1: govulncheck-vulndb-0.0.20250128T150132-1.1 on GA media
openSUSE-SU-2025:14684-1: helmfile-0.170.1-1.1 on GA media
CVE-2025-0377
openSUSE-SU-2025:20097-1: Security update for helmfile
CVE-2024-45338 · CVE-2025-0377
openSUSE-SU-2025-20097-1: Security update for helmfile
CVE-2024-45338 · CVE-2025-0377
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-59
Original publisher date fields
published: 2025-01-21T16:15:14.290
lastModified: 2026-06-17T08:26:22.710
1 source CPE criteria · context only
cpe:2.3:a:hashicorp:go-slug:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.