HashiCorp go-slug Vulnerable to Zip Slip Attack (HashiCorp Shared library)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.68 % · percentile 52 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- HashiCorp
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-59 — Improper Link Resolution Before File Access
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | HashiCorp |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · security@hashicorp.com (Secondary) |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-wpfp-cm49-9m9q — HashiCorp go-slug Vulnerable to Zip Slip Attack
- GO-2025-3413 — HashiCorp go-slug Vulnerable to Zip Slip Attack in github.com/hashicorp/go-slug
European references
- ENISA EUVD · EUVD-2025-0202
- GCVE · GCVE-0-2025-0377
Affected configurations (NVD CPE)
cpe:2.3:a:hashicorp:go-slug:*:*:*:*:*:*:*:*< 0.16.3
Affected products
| Product | Versions |
|---|---|
| HashiCorp · Shared library | affected 0 < 0.16.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |