CVE-2025-0377: HashiCorp go-slug - Path Traversal
- Cve: CVE-2025-0377
- Name: HashiCorp go-slug - Path Traversal
- 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.
- Impact: Attackers can write arbitrary files outside the target directory, potentially leading to code execution or system compromise.
- Remediation: Update to the latest version of go-slug library or apply patches addressing the zip-slip issue.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00677
- Epss percentile: 0.53246
- Assignee: [email protected]
- Published at: 2025-01-21T16:15:14Z
- Age in days: 672
- Modified at: 2026-06-17T08:26:22Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-0377
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
| Url | Source | Tags |
|---|---|---|
| https://discuss.hashicorp.com/t/hcsec-2025-01-hashicorp-go-slug-vulnerable-to-zip-slip-attack | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hashicorp:go-slug | < 0.16.3 | no | nvd | /v1/products/hashicorp/go-slug |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| hashicorp/go-slug | product | yes | /v1/repositories/hashicorp/go-slug |
Index
- Repositories: 4
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts