Vulnerability · Published May 25, 2022 · Assigned by mitre
CVE-2022-26945
Critical 9.8
In plain English
A critical-severity security flaw in the golang-github-hashicorp-go-getter package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.7%top 22.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
go-getter up to 1.5.11 and 2.0.2 allowed protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Fixed in 1.6.1 and 2.1.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-hashicorp-go-getter | no fix listed | DEBIAN-CVE-2022-26945 |
| Debian:14 | golang-github-hashicorp-go-getter | 1.8.9-1 | DEBIAN-CVE-2022-26945 |
| Go | github.com/hashicorp/go-getter | 1.6.1 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter | 1.6.1 | GHSA-cjr4-fv6c-f3mv |
| Go | github.com/hashicorp/go-getter | 2.1.0 | GHSA-cjr4-fv6c-f3mv |
| Go | github.com/hashicorp/go-getter | 1.6.1 | GHSA-fcgg-rvwg-jv58 |
| Go | github.com/hashicorp/go-getter | 2.1.0 | GHSA-fcgg-rvwg-jv58 |
| Go | github.com/hashicorp/go-getter | 1.6.1 | GHSA-x24g-9w7v-vprh |
| Go | github.com/hashicorp/go-getter | 2.1.0 | GHSA-x24g-9w7v-vprh |
| Go | github.com/hashicorp/go-getter | 1.6.1 | GO-2022-0586 |
| Go | github.com/hashicorp/go-getter/gcs/v2 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter/gcs/v2 | 2.1.0 | GO-2022-0586 |
| Go | github.com/hashicorp/go-getter/gcs/v2 | 2.1.0 | GHSA-fcgg-rvwg-jv58 |
| Go | github.com/hashicorp/go-getter/gcs/v2 | 2.1.0 | GHSA-x24g-9w7v-vprh |
| Go | github.com/hashicorp/go-getter/gcs/v2 | 2.1.0 | GHSA-cjr4-fv6c-f3mv |
| Go | github.com/hashicorp/go-getter/s3/v2 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter/s3/v2 | 2.1.0 | GHSA-fcgg-rvwg-jv58 |
| Go | github.com/hashicorp/go-getter/s3/v2 | 2.1.0 | GHSA-cjr4-fv6c-f3mv |
| Go | github.com/hashicorp/go-getter/s3/v2 | 2.1.0 | GHSA-x24g-9w7v-vprh |
| Go | github.com/hashicorp/go-getter/s3/v2 | 2.1.0 | GO-2022-0586 |
| Go | github.com/hashicorp/go-getter/v2 | 2.1.0 | GO-2022-0586 |
| Go | github.com/hashicorp/go-getter/v2 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter/v2 | 2.1.0 | GHSA-x24g-9w7v-vprh |
| Go | github.com/hashicorp/go-getter/v2 | 2.1.0 | GHSA-fcgg-rvwg-jv58 |
| Go | github.com/hashicorp/go-getter/v2 | 2.1.0 | GHSA-cjr4-fv6c-f3mv |
| Ubuntu:22.04:LTS | golang-github-hashicorp-go-getter | no fix listed | UBUNTU-CVE-2022-26945 |
| Ubuntu:24.04:LTS | golang-github-hashicorp-go-getter | no fix listed | UBUNTU-CVE-2022-26945 |
| Ubuntu:25.10 | golang-github-hashicorp-go-getter | no fix listed | UBUNTU-CVE-2022-26945 |
| Ubuntu:22.04:LTS | golang-github-jesseduffield-go-getter | no fix listed | UBUNTU-CVE-2022-26945 |
| Ubuntu:24.04:LTS | golang-github-jesseduffield-go-getter | no fix listed | UBUNTU-CVE-2022-26945 |
Affected products (as reported)
References
- https://discuss.hashicorp.com x_refsource_MISC
- https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930 x_refsource_MISC