CVE-2020-29529Hashicorp Go-slug
High 7.5 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Go-slug We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Dec 3, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go-slug.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/go-slug |
< 0.5.0 |
0.5.0 |
go get github.com/hashicorp/go-slug@v0.5.0 |
| Go | github.com/hashicorp/go-slug |
< 0.5.0 |
0.5.0 |
go get github.com/hashicorp/go-slug@v0.5.0 |
Per OSV / GitHub Advisories (GHSA-2g5j-5x95-r6hr, GO-2021-0094). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | go-slug | < 0.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- securitylab.github.com Exploit Third Party Advisory