PT-2024-5223 · Go-Getter+2 · Go-Getter+2

Alessio Della Libera

·

Published

2024-04-17

·

Updated

2025-11-27

·

CVE-2024-3817

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: go-getter versions prior to 1.7.4 go-getter/v2 branch and package are not affected
Description: The go-getter library is vulnerable to argument injection when executing Git to discover remote branches. An attacker may format a Git URL in order to inject additional Git arguments to the Git call. This can be done when go-getter is performing a Git operation and tries to clone the given repository, checking the remote repository's HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on.
Recommendations: For go-getter versions prior to 1.7.4, upgrade to version 1.7.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of Git URLs that could be used to inject additional Git arguments until a patch is available. Consumers of the go-getter library should evaluate the risk associated with these issues in the context of their go-getter usage.

Fix

Argument Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-39939
BDU:2024-05787
CVE-2024-3817
GHSA-Q64H-39HV-4CF7
GO-2024-2800
OPENSUSE-SU-2025:0056-1
OPENSUSE-SU-2025:14713-1
OPENSUSE-SU-2025:20117-1
OPENSUSE-SU-2026:20798-1

Affected Products

Debian
Red Os
Go-Getter