VDB
Sign up
HIGH8.6

GHSA-28r2-q6m8-9hpx

HashiCorp go-getter unsafe downloads could lead to asymmetric resource exhaustion

Quick fix

GHSA-28r2-q6m8-9hpx — github.com/hashicorp/go-getter: upgrade to the fixed version with the command below.

go get github.com/hashicorp/go-getter@v1.6.1

Details

HashiCorp go-getter through 2.0.2 does not safely perform downloads. Asymmetric resource exhaustion could occur when go-getter processed malicious HTTP responses.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/hashicorp/go-getter
Introduced in: 0Fixed in: 1.6.1
Fixgo get github.com/hashicorp/go-getter@v1.6.1
Go/github.com/hashicorp/go-getter
Introduced in: 2.0.0Fixed in: 2.1.0
Fixgo get github.com/hashicorp/go-getter@v2.1.0
Go/github.com/hashicorp/go-getter/v2
Introduced in: 0Fixed in: 2.1.0
Fixgo get github.com/hashicorp/go-getter/v2@v2.1.0
Go/github.com/hashicorp/go-getter/s3/v2
Introduced in: 0Fixed in: 2.1.0
Fixgo get github.com/hashicorp/go-getter/s3/v2@v2.1.0
Go/github.com/hashicorp/go-getter/gcs/v2
Introduced in: 0Fixed in: 2.1.0
Fixgo get github.com/hashicorp/go-getter/gcs/v2@v2.1.0

References