CVE-2025-0377 json
HashiCorp go-slug Vulnerable to Zip Slip Attack
published 2025-01-21 21 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-0202 , GHSA-wpfp-cm49-9m9q , GO-2025-3413
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/hashicorp/go-slug 0.16.3
- HashiCorp Shared library 0.16.2
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250128T150132-150000.1.29.1
suse advisories SUSE-SU-2025:0297-1
- helmfile openSUSE Leap 16.0 1.1.9-bp160.1.1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250128T150132-1.1
- helmfile openSUSE Tumbleweed 0.170.1-1.1
opensuse advisories openSUSE-SU-2025:20097-1openSUSE-SU-2025:14710-1openSUSE-SU-2025:14684-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-0377 updated cvss 7.5
go-slug: HashiCorp go-slug Vulnerable to Zip Slip Attack
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present “No mitigation is available for this issue other than updating the affected package to the version containing the fix.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/hashicorp/go-slug | <0.16.3 |
0.16.3 |
Affected products
- HashiCorp Shared library
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
Sources
- CVE List CVE-2025-0377
- GitHub Advisory GHSA-wpfp-cm49-9m9q
- NVD CVE-2025-0377
- OSV GO-2025-3413
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.