argoproj / argo-helm

ArgoProj Helm Charts
https://argoproj.github.io/argo-helm/
Apache License 2.0
1.77k stars 1.88k forks source link

fix(argo-workflows): Remove excessive wf controller RBAC permissions #3044

Closed tico24 closed 4 days ago

tico24 commented 4 days ago

The deleted privileges were used by the k8sapi Executor in older Argo Workflows versions <=3.3 when selected. In versions >=3.4, only the Emissary Executor is available, and it does not use any forms of elevated privileges. See also a summary of the Executors in an older version of the docs: https://argo-workflows.readthedocs.io/en/release-3.4/workflow-executors/.

Checklist:

vladlosev commented 4 days ago

So which version of Argo Workflows do we support? This change will break any versions < 3.4, as they need the pod permissions.

tico24 commented 4 days ago

We have only ever supported the latest of each product. So workflows 3.6.0

agilgur5 commented 2 days ago

For reference, this resolves the now public https://github.com/argoproj/argo-helm/security/advisories/GHSA-fgrf-2886-4q7m (and the description seems to heavily copy from there as well) aka CVE-2024-52799