Insufficient verification of data authenticity in go-getter - CVE-2024-6257
Published: August 8, 2024
Vulnerability details
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.
Affected software
Fedora
opentofu
IBM Cloud Pak for Watson AIOps
How to mitigate CVE-2024-6257
opentofu - addressed in versions 1.7.3-3.fc39, 1.7.3-3.fc40, 1.7.3-3.fc41, 1.8.0-1.fc39, 1.8.0-1.fc40
IBM Cloud Pak for Watson AIOps - update to 4.8.0