VDB
GHSA-cjr4-fv6c-f3mv
GHSA-cjr4-fv6c-f3mv
PUBLISHED
CVSS 8.600000381469727 HIGH
HashiCorp go-getter unsafe downloads could lead to arbitrary host access
Record from GitHub Advisory Database · Published May 26, 2022
github.com/hashicorp/go-getter/s3/v2 is fixed in 2.1.0 (Go Modules)
HashiCorp go-getter unsafe downloads could lead to arbitrary host access
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-getter/s3/v2 | Go Modules | 2.1.0 |
| github.com/hashicorp/go-getter/gcs/v2 | Go Modules | 2.1.0 |
| github.com/hashicorp/go-getter/v2 | Go Modules | 2.1.0 |
| github.com/hashicorp/go-getter | Go Modules | 2.1.0, 1.6.1 |
Risk scores
CVSS 3.1
8.600000381469727
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| github.com | hashicorp/go-getter/s3/v2 | 0 |
| github.com | hashicorp/go-getter/gcs/v2 | 0 |
| github.com | hashicorp/go-getter | 0, 2.0.0 |
| github.com | hashicorp/go-getter/v2 | 0 |
Timeline
- May 26, 2022 CVE Published
- May 1, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-cjr4-fv6c-f3mv
vulnetix vdb fixes GHSA-cjr4-fv6c-f3mv
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-cjr4-fv6c-f3mv/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-getter/pull/359 url
- https://github.com/hashicorp/go-getter/releases url
- https://github.com/hashicorp/go-getter/pull/361 url
- https://discuss.hashicorp.com url
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library url
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930 url
- https://github.com/hashicorp/go-getter package
- https://pkg.go.dev/vuln/GO-2022-0586 url
- https://nvd.nist.gov/vuln/detail/CVE-2022-30322 advisory
- https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48 url
- https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45 url