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

EcosystemPackageFixed inAdvisory
Debian:12golang-github-hashicorp-go-getterno fix listedDEBIAN-CVE-2024-3817
Debian:14golang-github-hashicorp-go-getter1.8.9-1DEBIAN-CVE-2024-3817
Gogithub.com/hashicorp/go-getter1.7.4GHSA-q64h-39hv-4cf7
Gogithub.com/hashicorp/go-getter1.7.4GO-2024-2800
Ubuntu:22.04:LTSgolang-github-hashicorp-go-getterno fix listedUBUNTU-CVE-2024-3817
Ubuntu:24.04:LTSgolang-github-hashicorp-go-getterno fix listedUBUNTU-CVE-2024-3817
Ubuntu:25.10golang-github-hashicorp-go-getterno fix listedUBUNTU-CVE-2024-3817
Ubuntu:22.04:LTSgolang-github-jesseduffield-go-getterno fix listedUBUNTU-CVE-2024-3817
Ubuntu:24.04:LTSgolang-github-jesseduffield-go-getterno fix listedUBUNTU-CVE-2024-3817

Affected products (as reported)

VendorProductVersions
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

References