High
HashiCorp go-slug Vulnerable to Zip Slip Attack
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-0377
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:22 UTC · Revision 1
Source evidence
HashiCorp go-slug Vulnerable to Zip Slip Attack
core-osv · Original sourcePublished 21 Jan 2025, 15:23 UTC
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.
osv:CVE-2025-0377
Complete source record
{
"id": "9a92e39e6c13f152168ebbc1f818c46908fd93ca21b6d08984c4490f94d1c9d8",
"url": "https://osv.dev/vulnerability/CVE-2025-0377",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "HashiCorp go-slug Vulnerable to Zip Slip Attack",
"summary": "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.",
"evidence": "osv:CVE-2025-0377",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-0377",
"aliases": [
"CVE-2025-0377",
"GHSA-wpfp-cm49-9m9q",
"GO-2025-3413"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hashicorp/go-slug",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "53c172a3e00fc1ac280365255b56af57846abdb4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.16.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:hashicorp:go-slug:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.16.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.16.1",
"v0.16.0",
"v0.15.2",
"v0.15.1",
"v0.15.0",
"v0.14.0",
"v0.13.4",
"v0.13.3",
"v0.13.2",
"v0.13.1",
"v0.13.0",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.1",
"v0.11.0",
"v0.10.1",
"v0.10.0",
"v0.9.1",
"v0.9.0",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-0377.json"
}
}
],
"modified": "2026-10-28T02:30:45.596846454Z",
"provider": "osv",
"references": [
"https://discuss.hashicorp.com/t/hcsec-2025-01-hashicorp-go-slug-vulnerable-to-zip-slip-attack",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0377.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-0377",
"https://github.com/hashicorp/go-slug"
],
"provider_metadata": {
"cwe_ids": [
"CWE-59"
],
"cna_assigner": "HashiCorp",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/0xxx/CVE-2025-0377.json"
}
},
"related_cves": [
{
"value": "CVE-2025-0377",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513814,
"published_at": "2025-01-21T15:23:53.104+00:00"
}