GHSA-q64h-39hv-4cf7

HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches

En bref

Publiée
Mise à jour
CVE
CVE-2024-3817
Alias
GO-2024-2800
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

When 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.

Paquets affectés

PaquetVersions
Go · github.com/hashicorp/go-getterintroduced 1.5.9, fixed 1.7.4

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database