Zip-Slip Vulnerability in HashiCorp's go-slug Library
CVE-2025-0377
Key Information:
- Vendor
Hashicorp
- Status
- CVE ID
- CVE ID:
- CVE-2025-0377
- Vendor
- CVE Published:
- 21 January 2025
- Fixed in
- Fixed in:
- 0.16.2
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Shared library 64 bit. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- It can be exploited remotely without credentials.
- Its CVSS severity is high (7.5).
What is CVE-2025-0377?
HashiCorp's go-slug library is susceptible to a zip-slip attack, allowing an attacker to manipulate file paths during extraction from tar entries. When a user provides a path that doesn't exist, it can be exploited to write to unintended file locations, potentially compromising system integrity. It is essential for users of the go-slug library to address this risk by validating paths and ensuring secure extraction processes.
References
More Hashicorp Vulnerabilities
Cross-Tenant Credential Reuse in HashiCorp Terraform MCP Server
Denial of Service Vulnerability in HashiCorp Vault and Vault Enterprise
Excessive Resource Consumption Vulnerability in HashiCorp Vault
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction