HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches
cve-program · CVE-2024-3817
PublishedHashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. This vulnerability does not affect the go-getter/v2 branch and package.
Read the publisher's advisoryeuvd · EUVD-2024-1274
PublishedHashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. This vulnerability does not affect the go-getter/v2 branch and package.
Read the publisher's advisorynvd · CVE-2024-3817
PublishedHashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. This vulnerability does not affect the go-getter/v2 branch and package.
Read the publisher's advisoryosv · GHSA-q64h-39hv-4cf7
PublishedWhen go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository’s HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on. An attacker may format a Git URL in order to inject additional Git arguments to the Git call. Consumers of the go-getter library should evaluate the risk associated with these issues in the context of their go-getter usage and upgrade go-getter to 1.7.4 or later.
Read the publisher's advisoryosv · GO-2024-2800
PublishedWhen go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository's HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on. An attacker may format a Git URL in order to inject additional Git arguments to the Git call.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-3817 · CVE overview and exploitation status
cve-program · CVE-2024-3817
euvd · EUVD-2024-1274
nvd · CVE-2024-3817
osv · GHSA-q64h-39hv-4cf7
- https://nvd.nist.gov/vuln/detail/CVE-2024-3817
- https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9
- https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040
- https://github.com/hashicorp/go-getter
osv · GO-2024-2800
Related changes
Linked by CVE identifierNo related changes are available here.