VDB
Sign up
HIGH7.5

GHSA-92mm-2pjq-r785

HashiCorp's go-getter library may allow arbitrary file reads

Quick fix

GHSA-92mm-2pjq-r785 — github.com/hashicorp/go-getter: upgrade to the fixed version with the command below.

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

Details

HashiCorp's go-getter library up to v1.8.5 may allow arbitrary file reads on the file system during certain git operations through a maliciously crafted URL. This is fixed in go-getter v1.8.6. This vulnerability does not affect the go-getter/v2 branch and package.

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.8.6
Fixgo get github.com/hashicorp/go-getter@v1.8.6

References