ADVISORIES

GitHub Advisory Database

GHSA-fcgg-rvwg-jv58

HashiCorp go-getter unsafe downloads

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/hashicorp/go-getter
All versions before 1.6.1 (fixed in 1.6.1)
Gogithub.com/hashicorp/go-getter
From 2.0.0 before 2.1.0 (fixed in 2.1.0)
Gogithub.com/hashicorp/go-getter/v2
All versions before 2.1.0 (fixed in 2.1.0)
Gogithub.com/hashicorp/go-getter/s3/v2
All versions before 2.1.0 (fixed in 2.1.0)
Gogithub.com/hashicorp/go-getter/gcs/v2
All versions before 2.1.0 (fixed in 2.1.0)

References