Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS14MjRnLTl3N3YtdnByaM4AArN3
HashiCorp go-getter command injection
HashiCorp go-getter before 2.0.2 allows Command Injection.
Permalink: https://github.com/advisories/GHSA-x24g-9w7v-vprhJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14MjRnLTl3N3YtdnByaM4AArN3
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: almost 2 years ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-x24g-9w7v-vprh, CVE-2022-26945
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-26945
- https://discuss.hashicorp.com
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930
- 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-x24g-9w7v-vprh
Blast Radius: 37.6
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