GHSA-xfhp-jf8p-mh5w

ghsaUSosv

HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

view advisory published 2024-06-25Licence: CC-BY-4.0

HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution. When go-getter is performing a Git operation, go-getter will try to clone the given repository in a specified destination. Cloning initializes a git config to the provided destination and if the repository needs to get updated go-getter will pull the new changes . An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2024-6257UShigh8.8—
HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan