VDB
GHSA-2g5j-5x95-r6hr
GHSA-2g5j-5x95-r6hr
PUBLISHED
CVSS 7.5 HIGH
Unsafe tar unpacking in HashiCorp go-slug
Record from GitHub Advisory Database · Published February 6, 2023
github.com/hashicorp/go-slug is fixed in 0.5.0 (Go Modules)
Unsafe tar unpacking in HashiCorp go-slug
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/hashicorp/go-slug | Go Modules | 0.5.0 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| github.com | hashicorp/go-slug | 0 |
Timeline
- Feb 6, 2023 CVE Published
- Apr 29, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-2g5j-5x95-r6hr
vulnetix vdb fixes GHSA-2g5j-5x95-r6hr
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-2g5j-5x95-r6hr/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/hashicorp/go-slug/pull/12 url
- https://github.com/hashicorp/go-slug/commit/28cafc59c8da6126a3ae94dfa84181df4073454f url
- https://pkg.go.dev/vuln/GO-2021-0094 url
- https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-29529 advisory
- https://github.com/hashicorp/go-slug/commit/764785bc4cbb9e600ad1cf1a6bd21b535c182983 url
- https://github.com/hashicorp/go-slug package
- https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0 url
- https://github.com/hashicorp/go-slug/releases/tag/v0.5.0 url