Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

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

Source evidence

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

core-osv · Original source

Published 17 Apr 2024, 19:37 UTC

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.

osv:CVE-2024-3817
Complete source record
{
  "id": "c3178c5b8cfaa537de88d5e363bb08f8c395039c80994966d4b6d4d5265a8476",
  "url": "https://osv.dev/vulnerability/CVE-2024-3817",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches",
    "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.",
    "evidence": "osv:CVE-2024-3817",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-3817",
      "aliases": [
        "CVE-2024-3817",
        "GHSA-q64h-39hv-4cf7",
        "GO-2024-2800"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/go-getter",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0821303379b8710364f15cae37bbbc8f0dc19cc7"
                },
                {
                  "fixed": "0298a221674f629339295fa8a1e6a938e28506e0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.5.9"
                      },
                      {
                        "fixed": "1.7.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.5.9"
                      },
                      {
                        "fixed": "1.7.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3817.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.196900665Z",
      "provider": "osv",
      "references": [
        "https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3817.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-3817",
        "https://github.com/hashicorp/go-getter"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-88"
        ],
        "cna_assigner": "HashiCorp",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3817.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-3817",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492997,
  "published_at": "2024-04-17T19:37:25.878+00:00"
}