Vulnerability · Published Apr 17, 2024 · Assigned by HashiCorp
CVE-2024-3817HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches
Critical 9.8
In plain English
A critical-severity argument injection in Shared library from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.3%top 28.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-hashicorp-go-getter | no fix listed | DEBIAN-CVE-2024-3817 |
| Debian:14 | golang-github-hashicorp-go-getter | 1.8.9-1 | DEBIAN-CVE-2024-3817 |
| Go | github.com/hashicorp/go-getter | 1.7.4 | GHSA-q64h-39hv-4cf7 |
| Go | github.com/hashicorp/go-getter | 1.7.4 | GO-2024-2800 |
| Ubuntu:22.04:LTS | golang-github-hashicorp-go-getter | no fix listed | UBUNTU-CVE-2024-3817 |
| Ubuntu:24.04:LTS | golang-github-hashicorp-go-getter | no fix listed | UBUNTU-CVE-2024-3817 |
| Ubuntu:25.10 | golang-github-hashicorp-go-getter | no fix listed | UBUNTU-CVE-2024-3817 |
| Ubuntu:22.04:LTS | golang-github-jesseduffield-go-getter | no fix listed | UBUNTU-CVE-2024-3817 |
| Ubuntu:24.04:LTS | golang-github-jesseduffield-go-getter | no fix listed | UBUNTU-CVE-2024-3817 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| HashiCorp | Shared library | 1.5.9 – before 1.7.3 |
Weakness: CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H