CVE-2024-3817 – github.com/hashicorp/go-getter
Package
Manager: go
Name: github.com/hashicorp/go-getter
Vulnerable Version: >=1.5.9 <1.7.4
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00159 pctl0.37277
Details
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.
Metadata
Created: 2024-04-17T21:30:49Z
Modified: 2024-04-18T13:45:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-q64h-39hv-4cf7/GHSA-q64h-39hv-4cf7.json
CWE IDs: ["CWE-88"]
Alternative ID: GHSA-q64h-39hv-4cf7
Finding: F014
Auto approve: 1