You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have already posted an issue on your project, and while re-reading the code, I wonder about possible injections.
By using exec.Command(), especially the line exec.Command("sh -c", params).
I think a work is to be considered also on the /pkg/kubectl/kubectl.go file, which also uses a lot of exec.Command(), while there is the Kubernetes Client SDK here : https://github.com/kubernetes/client-go
Hi,
I have already posted an issue on your project, and while re-reading the code, I wonder about possible injections.
By using
exec.Command()
, especially the lineexec.Command("sh -c", params)
.helm-spray/pkg/helm/helm.go
Line 184 in 945927b
Also in the
UpgradeWithValues
function, even if the use of the bianire helm in the first argument ofexec.Command()
prevents some injection.helm-spray/pkg/helm/helm.go
Line 136 in 945927b
Why not use the Helm Go SDK for most actions on Helm. https://pkg.go.dev/helm.sh/helm/[email protected]/pkg/action#Upgrade for example.
The text was updated successfully, but these errors were encountered: