# CVE-2024-6257: HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

- Priority: **Routine**
- Reason: Not severe (CVSS 8.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-06-25 · Modified: 2024-08-01
- Aliases: UBUNTU-CVE-2024-6257, DEBIAN-CVE-2024-6257, CGA-247q-6jj9-hq4g, CGA-26j8-5wv9-mh35, CGA-2842-c9mv-hqqj, CGA-2v5j-g6c6-3q62, CGA-32pp-hc63-2rv8, CGA-3c36-2j6x-92mx, CGA-3cfq-5gw9-jmw6, CGA-3h93-rg85-m283, CGA-4jrf-rq9f-wm68, CGA-54qp-vp93-wfw7, CGA-752f-277x-vv5r, CGA-7fqc-4wv4-x9j9, CGA-7j73-87jq-m72w, CGA-7xcm-vwm6-qwfw, CGA-83q2-xcmp-3jmm, CGA-88gj-whgh-37mv, CGA-8pmf-932r-qp52, CGA-8vvp-67xv-wx53, CGA-9mhg-44fc-h8ph, CGA-cq94-g86j-7p3q, CGA-fxfq-wwr4-rvgv, CGA-g2fh-f4x2-f783, CGA-gjq3-8h7q-vvpf, CGA-j464-43h2-j4hc, CGA-j689-cqc7-pfpv, CGA-mwcp-mg85-86qw, CGA-mxm2-xgjx-whqf, CGA-q7h9-jcrg-chh2, CGA-qh45-hvjj-p665, CGA-qmqj-9mc3-2336, CGA-qp7w-hm97-2v22, CGA-v3qm-2wq4-fhvg, CGA-v4fw-q4pf-mrhq, CGA-v73p-wxjc-9vcr, CGA-w6h3-qmx2-q8fq, CGA-wcj4-259w-fp75, CGA-x3jf-jgm8-wxxw, CGA-xwv7-fw9c-59v6, GHSA-xfhp-jf8p-mh5w, GO-2024-2948, openSUSE-SU-2024:14183-1, openSUSE-SU-2024:14190-1, CGA-6qqj-9vqq-r85x, CGA-842f-p67m-rjq5, CGA-c6rr-qfgg-8r4q, CGA-g2h5-qjxr-4r5f
- Record: https://cvemate.com/vulnerability/CVE-2024-6257 · JSON: https://cvemate.com/vulnerability/CVE-2024-6257/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.981%, percentile 63.422%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 48)

- chainguard conftest (Chainguard): \< 0.53.0-r1
- chainguard conftest-fips (Chainguard): \< 0.53.0-r1
- chainguard grype (Chainguard): \< 0.79.1-r1
- chainguard k9s (Chainguard): \< 0.32.5-r1
- chainguard kots (Chainguard): \< 1.109.14-r1
- chainguard kots-compat (Chainguard): \< 1.109.14-r1
- chainguard kots-symlink-compat (Chainguard): \< 1.109.14-r1
- chainguard kubescape (Chainguard): \< 3.0.11-r3
- chainguard snyk-cli (Chainguard): \< 1.1291.1-r3
- chainguard terraform (Chainguard): \< 1.5.7-r14
- chainguard terraform-local-provider-config (Chainguard): \< 1.5.7-r14
- chainguard terragrunt (Chainguard): \< 0.59.5-r1
- chainguard terragrunt-docs (Chainguard): \< 0.59.5-r1
- chainguard tflint (Chainguard): \< 0.51.1-r2
- chainguard tflint-compat (Chainguard): \< 0.51.1-r2
- chainguard tfsec (Chainguard): \< 1.28.6-r3
- chainguard trivy (Chainguard): \< 0.52.2-r1
- chainguard trivy-fips (Chainguard): \< 0.52.2-r1
- chainguard wolfictl (Chainguard): \< 0.19.0-r1
- chainguard zarf (Chainguard): \< 0.35.0-r2

## References

- <https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081>
- <https://ubuntu.com/security/CVE-2024-6257>
- <https://www.cve.org/CVERecord?id=CVE-2024-6257>
- <https://github.com/hashicorp/go-getter/pull/497>
- <https://security-tracker.debian.org/tracker/CVE-2024-6257>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6257.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6257>
- <https://github.com/hashicorp/go-getter>
- <https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9>
- <https://github.com/advisories/GHSA-xfhp-jf8p-mh5w>
- <https://www.suse.com/security/cve/CVE-2024-6257>

---

Data as of 2026-12-05T10:41:24.322Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
