Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-6257
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 06:24 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 25 Jun 2024, 16:31 UTC

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.

osv:CVE-2024-6257
Complete source record
{
  "id": "199d71eb7ce9dc8b694a631cfdf594a564f9eb7693102793001710bbde7e757b",
  "url": "https://osv.dev/vulnerability/CVE-2024-6257",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation",
    "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.",
    "evidence": "osv:CVE-2024-6257",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-6257",
      "aliases": [
        "CVE-2024-6257",
        "GHSA-xfhp-jf8p-mh5w",
        "GO-2024-2948"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/go-getter",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "268c11cae8cf0d9374783e06572679796abe9ce9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.11",
            "v1.5.10",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.1.0",
            "v1.3.0",
            "v1.2.0",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6257.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.331901869Z",
      "provider": "osv",
      "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://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"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-77"
        ],
        "cna_assigner": "HashiCorp",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6257.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-6257",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493041,
  "published_at": "2024-06-25T16:31:03.882+00:00"
}