CVE-2024-3817 HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches
CriticalCVSS 9.8
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-hashicorp-go-getter(Debian 12) | = 1.4.1-1; = 1.8.9-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/golang-github-hashicorp-go-getter(Debian 14) | < 1.8.9-1; = 0.0~git20160316.0.575ec4e-1; = 1.4.0-1; = 1.4.1-1 | 1.8.9-1 | Fixed |
| hashicorp github.com/hashicorp/go-getter | >= 1.5.9, < 1.7.3; >= 1.5.9, < 1.7.4 | 1.7.3, 1.7.4 | Fixed |
| hashicorp github.com/hashicorp/go-getter(Go) | >= 1.5.9, < 1.7.4 | 1.7.4 | Fixed |
| hashicorp Shared library | >= 1.5.9, < 1.7.3 | 1.7.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/go-getter(Go) | >= 1.5.9, < 1.7.4 | 1.7.4 |
| debian/golang-github-hashicorp-go-getter(Debian:12) | All versions | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:12) | = 1.4.1-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:12) | = 1.8.9-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:14) | < 1.8.9-1 | 1.8.9-1 |
| debian/golang-github-hashicorp-go-getter(Debian:14) | = 0.0~git20160316.0.575ec4e-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:14) | = 1.4.0-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:14) | = 1.4.1-1 | No fix listed |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu:22.04) | All versions | No fix listed |
| hashicorp Shared library | >= 1.5.9, < 1.7.3 | 1.7.3 |
| hashicorp github.com/hashicorp/go-getter | >= 1.5.9, < 1.7.3 | 1.7.3 |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu:24.04) | All versions | No fix listed |
| hashicorp github.com/hashicorp/go-getter | >= 1.5.9, < 1.7.4 | 1.7.4 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- discuss.hashicorp.com vendor-advisory
- github.com product
- github.com vendor-advisory
- Debian Security Tracker CVE-2024-3817 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking