High
Security advisory
HashiCorp go-slug up to 0.4.3 did not fully protect against directory traversal while unpacking tar archives, and protections could be bypassed with specific constructions of multiple symlinks. Fixed in 0.5.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-29529
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:11 UTC · Revision 1
Source evidence
HashiCorp go-slug up to 0.4.3 did not fully protect against directory traversal while unpacking tar archives, and protections could be bypassed with specific constructions of multiple symlinks. Fixed in 0.5.0.
osv:CVE-2020-29529
Complete source record
{
"id": "3e8e8666dfacc054c6b6a823203465fb70547fcbd9875ff75a58cf7597a23641",
"url": "https://osv.dev/vulnerability/CVE-2020-29529",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-29529",
"summary": "HashiCorp go-slug up to 0.4.3 did not fully protect against directory traversal while unpacking tar archives, and protections could be bypassed with specific constructions of multiple symlinks. Fixed in 0.5.0.",
"evidence": "osv:CVE-2020-29529",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-29529",
"aliases": [
"CVE-2020-29529",
"GHSA-2g5j-5x95-r6hr",
"GO-2021-0094"
],
"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": "28cafc59c8da6126a3ae94dfa84181df4073454f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:hashicorp:go-slug:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "28cafc59c8da6126a3ae94dfa84181df4073454f"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.5.0"
}
]
}
}
],
"versions": [
"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-2020-29529.json"
}
}
],
"modified": "2026-10-20T10:53:15.322614726Z",
"provider": "osv",
"references": [
"https://github.com/hashicorp/go-slug/releases/tag/v0.5.0",
"https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0",
"https://github.com/hashicorp/go-slug/pull/12",
"https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-29529",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384243,
"published_at": "2020-12-03T20:15:11.82+00:00"
}