CVE-2024-3817
CRITICAL9.8EPSS 2.5%Argument injection when fetching remote default Git branches in github.com/hashicorp/go-getter
Published: 4/17/2024Modified: 4/28/2026
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.
Affected packages (3)
- Debian/golang-github-hashicorp-go-getterfrom 0
- Go/github.com/hashicorp/go-getter>= 1.5.9, < 1.7.4
- Go/github.com/hashicorp/go-getter>= 1.5.9, < 1.7.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-q64h-39hv-4cf7
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-3817
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-3817
- PATCHhttps://github.com/hashicorp/go-getter
- WEBhttps://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040
- WEBhttps://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9