{"id":"CVE-2024-3817","state":"PUBLISHED","title":"HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches","description":"HashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. \n\nThis vulnerability does not affect the go-getter/v2 branch and package.","publishedAt":"2024-04-17T19:37:25.878Z","updatedAt":"2024-08-01T20:20:01.607Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"HashiCorp"},"assigner":"HashiCorp","products":["HashiCorp Shared library"],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"1.5.9","status":"affected","lessThan":"1.7.3","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/go-getter"}],"references":["https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040"],"weaknesses":["CWE-88"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/3xxx/CVE-2024-3817.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-3817","state":"PUBLISHED","datePublished":"2024-04-17T19:37:25.878Z","dateUpdated":"2024-08-01T20:20:01.607Z","assignerShortName":"HashiCorp","assignerOrgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateReserved":"2024-04-15T14:04:27.869Z"},"containers":{"cna":{"title":"HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches","descriptions":[{"lang":"en","value":"HashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches. \n\nThis vulnerability does not affect the go-getter/v2 branch and package."}],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"1.5.9","status":"affected","lessThan":"1.7.3","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/go-getter"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040"}],"metrics":[{"cvssV3_1":{"baseScore":9.8,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-88","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command (Argument Injection)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HashiCorp","orgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateUpdated":"2024-04-17T19:37:25.878Z"},"impacts":[{"capecId":"CAPEC-248","descriptions":[{"lang":"en","value":"CAPEC-248: Command Injection"}]}],"source":{"advisory":"HCSEC-2024-09","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"hashicorp","product":"go-getter","defaultStatus":"unknown","versions":[{"version":"1.5.9","status":"affected","lessThan":"1.7.3","versionType":"custom"}],"cpes":["cpe:2.3:a:hashicorp:go-getter:1.5.9:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-3817","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-23T16:09:26.407809Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:31:04.582Z"}},{"title":"CVE Program Container","references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T20:20:01.607Z"}}]}}}