Vulnerability · Published Dec 3, 2020 · Assigned by mitre
CVE-2020-29529
High 7.5
In plain English
A high-severity security flaw in the golang-github-hashicorp-go-slug package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.8%top 13.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-hashicorp-go-slug | 0.5.0-1 | DEBIAN-CVE-2020-29529 |
| Go | github.com/hashicorp/go-slug | 0.5.0 | GHSA-2g5j-5x95-r6hr |
| Go | github.com/hashicorp/go-slug | 0.5.0 | GO-2021-0094 |
| Ubuntu:22.04:LTS | golang-github-hashicorp-go-slug | no fix listed | UBUNTU-CVE-2020-29529 |
Affected products (as reported)
References
- https://github.com/hashicorp/go-slug/releases/tag/v0.5.0 x_refsource_MISC
- https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0 x_refsource_MISC
- https://github.com/hashicorp/go-slug/pull/12 x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug x_refsource_MISC