Skip to content
Fencer Vulns
critical 9.8

CVE-2024-3817 json

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

published 2024-04-17 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1274 , GHSA-q64h-39hv-4cf7 , GO-2024-2800

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 71%
public exploits
0
none known

Summary

HashiCorp’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.

Patch / fix

  • go github.com/hashicorp/go-getter 1.7.4
  • HashiCorp Shared library 1.7.3
  • hashicorp go-getter 1.7.3
  • golang-github-hashicorp-go-getter Debian 14 1.8.9-1

debian advisories DEBIAN-CVE-2024-3817

  • trivy Package Hub 15 SP6, openSUSE Leap 15.6 0.58.2-bp156.2.6.1
  • trivy openSUSE Tumbleweed 0.58.2-1.1

opensuse advisories openSUSE-SU-2025:0056-1openSUSE-SU-2025:14713-1

  • terraform CBL-Mariner 2.0 1.3.2-14

azure linux advisories AZL-39939

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-3817 updated cvss 9.8

hashicorp/go-getter: argument injection when fetching remote default git branches

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/hashicorp/go-getter
>=1.5.9, <1.7.4
1.7.4

Affected products

  • HashiCorp Shared library
  • hashicorp go-getter

Classification

Weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.