Bug 1227016

Summary: VUL-0: CVE-2024-6257: kubescape: hashicorp/go-getter: Arbitrary command execution through local git config file
Product: [Novell Products] SUSE Security Incidents Reporter: Carlos López <carlos.lopez>
Component: IncidentsAssignee: Johannes Kastl <opensuse_buildservice>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/412112/
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1227011    

Description Carlos López 2024-06-26 08:52:46 UTC
kubescape embeds hashicorp/go-getter:

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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-6257
https://www.cve.org/CVERecord?id=CVE-2024-6257
https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081
https://bugzilla.redhat.com/show_bug.cgi?id=2294254