Argo CD: AppProject destination-namespace and resource restrictions bypassed by PreDelete/PostDelete resource hooks
What to do
- Upgrade to a fixed version: github.com/argoproj/argo-cd/v3 3.3.15, github.com/argoproj/argo-cd/v3 3.4.10, github.com/argoproj/argo-cd/v3 3.5.4, github.com/argoproj/argo-cd/v3 3.6.0-rc2.
- Some affected packages have no fixed version yet: follow the advisory for mitigations and watch this page for the fix.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
github.com/argoproj/argo-cd/v2
- >= 2.10.0, <= 2.14.21
- no fix yet
Check your project: go list -m all | grep github.com/argoproj/argo-cd/v2
github.com/argoproj/argo-cd/v3
- >= 3.0.0, < 3.3.15
- 3.3.15
Check your project: go list -m all | grep github.com/argoproj/argo-cd/v3
github.com/argoproj/argo-cd/v3
- >= 3.4.0, < 3.4.10
- 3.4.10
Check your project: go list -m all | grep github.com/argoproj/argo-cd/v3
github.com/argoproj/argo-cd/v3
- >= 3.5.0, < 3.5.4
- 3.5.4
Check your project: go list -m all | grep github.com/argoproj/argo-cd/v3
github.com/argoproj/argo-cd/v3
- >= 3.6.0-rc1, < 3.6.0-rc2
- 3.6.0-rc2
Check your project: go list -m all | grep github.com/argoproj/argo-cd/v3