Live threats

All CVEs / Hashicorp

CVE-2020-29529Hashicorp Go-slug

High 7.5 No auth needed

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
Weakness (CWE)
CWE-22, CWE-59
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go-slug.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
hashicorpgo-slug< 0.5.0

Official sources

References

Links published by the sources. Open them with care.