ghsa-q64h-39hv-4cf7
Vulnerability from github
Published
2024-04-17 21:30
Modified
2024-04-18 13:45
Severity ?
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.
An attacker may format a Git URL in order to inject additional Git arguments to the Git call.
Consumers 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": { "ecosystem": "Go", "name": "github.com/hashicorp/go-getter" }, "ranges": [ { "events": [ { "introduced": "1.5.9" }, { "fixed": "1.7.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-3817" ], "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" }, "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\u2019s 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. ", "id": "GHSA-q64h-39hv-4cf7", "modified": "2024-04-18T13:45:52Z", "published": "2024-04-17T21:30:49Z", "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" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.