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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-hashicorp-go-getter | 1.8.9-1 | — |
| Debian 12 | golang-github-hashicorp-go-getter | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | golang-github-hashicorp-go-getter | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-hashicorp-go-getter +1 | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-hashicorp-go-getter +1 | No fix yet | — |
| Ubuntu 20.04 LTS | golang-github-hashicorp-go-getter +1 | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-hashicorp-go-getter | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/hashicorp/go-getter | < 1.6.1 | 1.6.1 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter | >= 2.0.0, < 2.1.0 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter/gcs/v2 | < 2.1.0 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter/s3/v2 | < 2.1.0 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
| Go | github.com/hashicorp/go-getter/v2 | < 2.1.0 | 2.1.0 | GHSA-28r2-q6m8-9hpx |
Advisories 1
- WID-SEC-2022-0779 Red Hat OpenStack: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 5, 2023