Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0Patch, Release Notes, Third Party Advisory
- https://github.com/hashicorp/go-slug/pull/12Patch, Third Party Advisory
- https://github.com/hashicorp/go-slug/releases/tag/v0.5.0Release Notes, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slugExploit, Third Party Advisory
- https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0Patch, Release Notes, Third Party Advisory
- https://github.com/hashicorp/go-slug/pull/12Patch, Third Party Advisory
- https://github.com/hashicorp/go-slug/releases/tag/v0.5.0Release Notes, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slugExploit, Third Party Advisory
Timeline
- Published
- Dec 3, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified