Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1mY2dnLXJ2d2ctanY1OM4AArNo
HashiCorp go-getter unsafe downloads
HashiCorp go-getter through 2.0.2 does not safely perform downloads. Protocol switching, endless redirect, and configuration bypass were possible via abuse of custom HTTP response header processing.
Permalink: https://github.com/advisories/GHSA-fcgg-rvwg-jv58JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mY2dnLXJ2d2ctanY1OM4AArNo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: almost 2 years ago
CVSS Score: 8.6
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Identifiers: GHSA-fcgg-rvwg-jv58, CVE-2022-30321
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-30321
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930
- https://discuss.hashicorp.com
- https://github.com/hashicorp/go-getter/releases
- https://github.com/hashicorp/go-getter/pull/359
- https://github.com/hashicorp/go-getter/pull/361
- https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48
- https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45
- https://pkg.go.dev/vuln/GO-2022-0586
- https://github.com/advisories/GHSA-fcgg-rvwg-jv58
Blast Radius: 33.0
Affected Packages
go:github.com/hashicorp/go-getter/gcs/v2
Dependent packages: 125Dependent repositories: 188
Downloads:
Affected Version Ranges: < 2.1.0
Fixed in: 2.1.0
All affected versions: 2.0.2
All unaffected versions: 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3
go:github.com/hashicorp/go-getter/s3/v2
Dependent packages: 125Dependent repositories: 188
Downloads:
Affected Version Ranges: < 2.1.0
Fixed in: 2.1.0
All affected versions: 2.0.2
All unaffected versions: 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3
go:github.com/hashicorp/go-getter/v2
Dependent packages: 195Dependent repositories: 234
Downloads:
Affected Version Ranges: < 2.1.0
Fixed in: 2.1.0
All affected versions: 2.0.0, 2.0.1, 2.0.2
All unaffected versions: 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3
go:github.com/hashicorp/go-getter
Dependent packages: 3,705Dependent repositories: 6,872
Downloads:
Affected Version Ranges: >= 2.0.0, < 2.1.0, < 1.6.1
Fixed in: 2.1.0, 1.6.1
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.6.0
All unaffected versions: 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6