CVE-2020-29529 Unsafe tar unpacking in HashiCorp go-slug
HighCVSS 7.5
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
4 packages: 3 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-hashicorp-go-slug(Ubuntu 22.04) | = 0.5.0-2; = 0.7.0-1ubuntu1; All versions | No fix listed | No fix yet |
| debian/golang-github-hashicorp-go-slug(Debian 12) | < 0.5.0-1 | 0.5.0-1 | Fixed |
| hashicorp github.com/hashicorp/go-slug | < 0.5.0 | 0.5.0 | Fixed |
| hashicorp github.com/hashicorp/go-slug(Go) | < 0.5.0 | 0.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/go-slug(Go) | < 0.5.0 | 0.5.0 |
| debian/golang-github-hashicorp-go-slug(Debian:12) | < 0.5.0-1 | 0.5.0-1 |
| hashicorp github.com/hashicorp/go-slug | < 0.5.0 | 0.5.0 |
| ubuntu/golang-github-hashicorp-go-slug(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-hashicorp-go-slug(Ubuntu:22.04) | = 0.5.0-2 | No fix listed |
| ubuntu/golang-github-hashicorp-go-slug(Ubuntu:22.04) | = 0.7.0-1ubuntu1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch
- github.com patch
- github.com issue-tracking patch release-notes third-party-advisory
- github.com issue-tracking release-notes third-party-advisory
- pkg.go.dev
- securitylab.github.com exploit third-party-advisory vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2020-29529 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking