#VU95528 Insufficient verification of data authenticity in go-getter - CVE-2024-6257
Published: August 8, 2024
go-getter
HashiCorp
Description
The vulnerability allows a local user to compromise the affected system.
The vulnerability exists due to the way the Git config is handled by the library. 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.