{"schema_version":"1.7.3","id":"GHSA-q64h-39hv-4cf7","published":"2024-04-17T21:30:49Z","modified":"2026-02-04T04:14:08.864494Z","aliases":["CVE-2024-3817","GO-2024-2800"],"related":["CGA-62m2-47v9-7v3m"],"summary":"HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches","details":"When go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository’s HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on.\n\nAn attacker may format a Git URL in order to inject additional Git arguments to the Git call.\n\nConsumers of the go-getter library should evaluate the risk associated with these issues in the context of their go-getter usage and upgrade go-getter to 1.7.4 or later. ","affected":[{"package":{"name":"github.com/hashicorp/go-getter","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/go-getter"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.5.9"},{"fixed":"1.7.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-q64h-39hv-4cf7/GHSA-q64h-39hv-4cf7.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3817"},{"type":"WEB","url":"https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040"},{"type":"PACKAGE","url":"https://github.com/hashicorp/go-getter"}],"database_specific":{"cwe_ids":["CWE-88"],"github_reviewed":true,"github_reviewed_at":"2024-04-18T13:45:52Z","nvd_published_at":"2024-04-17T20:15:08Z","severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}