GO-2024-2948

Code Execution on Git update in github.com/hashicorp/go-getter

En bref

Publiée
Mise à jour
CVE
CVE-2024-6257
Alias
GHSA-xfhp-jf8p-mh5w

Description

A crafted request can execute Git update on an existing maliciously modified Git Configuration. This can potentially lead to arbitrary code execution. When performing a Git operation, the library will try to clone the given repository to a specified destination. Cloning initializes a git config in the provided destination. An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.

Paquets affectés

PaquetVersions
Go · github.com/hashicorp/go-getterintroduced 0, fixed 1.7.5

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database