CVE-2025-0377 HashiCorp go-slug Vulnerable to Zip Slip Attack
CriticalCVSS 9.1
EPSS 0.68%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hashicorp github.com/hashicorp/go-slug | < 0.16.3 | 0.16.3 | Fixed |
| hashicorp github.com/hashicorp/go-slug(Go) | < 0.16.3 | 0.16.3 | Fixed |
| hashicorp Shared library | < 0.16.2 | 0.16.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/go-slug(Go) | < 0.16.3 | 0.16.3 |
| hashicorp Shared library | < 0.16.2 | 0.16.2 |
| hashicorp github.com/hashicorp/go-slug | < 0.16.3 | 0.16.3 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- discuss.hashicorp.com vendor-advisory
- github.com vendor-advisory