CVE-2025-0377
CRITICAL 9.1CVSS 3.1HashiCorp go-slug Vulnerable to Zip Slip Attack
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.
- Published
- 21 Jan 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-59
- Also known as
- GHSA-wpfp-cm49-9m9qGO-2025-3413
- Sources
- NVDJSONOSV GHSA-wpfp-cm49-9m9qJSONOSV GO-2025-3413JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | 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 | security@hashicorp.com (Secondary) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | go-slugcpe:2.3:a:hashicorp:go-slug:*:*:*:*:*:*:*:* |
< 0.16.3 | 0.16.3 |
| OSV | Go | github.com/hashicorp/go-slug | < 0.16.3 | 0.16.3 |
References
- https://discuss.hashicorp.com/t/hcsec-2025-01-hashicorp-go-slug-vulnerable-to-zip-slip-attack · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-0377 · ADVISORY
- github.com/hashicorp/go-slug · PACKAGE
- https://github.com/advisories/GHSA-wpfp-cm49-9m9q · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 21 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2025)