Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1xNjRoLTM5aHYtNGNmN84AA7KO

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

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.

Permalink: https://github.com/advisories/GHSA-q64h-39hv-4cf7
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1xNjRoLTM5aHYtNGNmN84AA7KO
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: 27 days ago
Updated: 17 days ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-q64h-39hv-4cf7, CVE-2024-3817
References: Repository: https://github.com/hashicorp/go-getter
Blast Radius: 37.6

Affected Packages

go:github.com/hashicorp/go-getter
Dependent packages: 3,705
Dependent repositories: 6,872
Downloads:
Affected Version Ranges: >= 1.5.9, < 1.7.4
Fixed in: 1.7.4
All affected versions: 1.5.9, 1.5.10, 1.5.11, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3
All unaffected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8