Skip to content
Fencer Vulns
high 8.4

CVE-2024-6257 json

HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

published 2024-06-25 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-2209 , GHSA-xfhp-jf8p-mh5w , GO-2024-2948

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

Summary

HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution.

Patch / fix

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

debian advisories DEBIAN-CVE-2024-6257

  • trivy Package Hub 15 SP6, openSUSE Leap 15.6 0.54.1-bp156.2.3.1
  • trivy Package Hub 15 SP5, openSUSE Leap 15.5 0.54.1-bp155.2.3.1
  • conftest openSUSE Tumbleweed 0.54.0-1.1
  • trivy openSUSE Tumbleweed 0.53.0-1.1

opensuse advisories openSUSE-SU-2024:0269-1openSUSE-SU-2024:0268-1openSUSE-SU-2024:14190-1openSUSE-SU-2024:14183-1

  • terraform CBL-Mariner 2.0 1.3.2-17

azure linux advisories AZL-42982

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-6257 updated cvss 7.7

hashicorp/go-getter: Arbitrary command execution through local git config file

  • Red Hat Trusted Application Pipeline cli-v01, cli-v02
    affected: no fix available, no fix planned “Will not fix”

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
total
Assessed
2 y ago

Exploit prediction

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

CVSS scores

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

Affected packages

ecosystem package affected fixed in
go github.com/hashicorp/go-getter
<1.7.5
1.7.5

Affected products

  • HashiCorp Shared library
  • hashicorp shared_library

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used 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.