Skip to content

CVE-2022-31105 Argo CD's certificate verification is skipped for connections to OIDC providers

CriticalCVSS 9.6 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Kubernetes

Description

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Argo CD starting with version 0.4.0 and prior to 2.2.11, 2.3.6, and 2.4.5 is vulnerable to an improper certificate validation bug which could cause Argo CD to trust a malicious (or otherwise untrustworthy) OpenID Connect (OIDC) provider. A patch for this vulnerability has been released in Argo CD versions 2.4.5, 2.3.6, and 2.2.11. There are no complete workarounds, but a partial workaround is available. Those who use an external OIDC provider (not the bundled Dex instance), can mitigate the issue by setting the oidc.config.rootCA field in the argocd-cm ConfigMap. This mitigation only forces certificate validation when the API server handles login flows. It does not force certificate verification when verifying tokens on API calls.

Upgrade path

4 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
argoproj github.com/argoproj/argo-cd(Go) < 2.2.11; >= 0.4.0; >= 0.4.0, < 2.2.11; >= 2.3.0, < 2.3.6 +1 more 2.2.11, 2.3.6, 2.4.5 Partially fixed
argoproj Argo CD >= 2.3.0, < 2.3.6; >= 2.4.0, < 2.4.5 2.3.6, 2.4.5 Fixed
linuxfoundation argo-cd >= 0.4.0, < 2.2.11 2.2.11 Fixed
argoproj github.com/argoproj/argo-cd = >= 0.4.0, < 2.2.11; = >= 2.3.0, < 2.3.6; = >= 2.4.0, < 2.4.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
argoproj github.com/argoproj/argo-cd(Go) >= 0.4.0, < 2.2.11 2.2.11
argoproj github.com/argoproj/argo-cd(Go) >= 2.3.0, < 2.3.6 2.3.6
argoproj github.com/argoproj/argo-cd(Go) >= 2.4.0, < 2.4.5 2.4.5
argoproj github.com/argoproj/argo-cd(Go) >= 0.4.0 No fix listed
argoproj github.com/argoproj/argo-cd(Go) < 2.2.11 2.2.11
argoproj github.com/argoproj/argo-cd = >= 0.4.0, < 2.2.11 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.3.0, < 2.3.6 No fix listed
argoproj github.com/argoproj/argo-cd = >= 2.4.0, < 2.4.5 No fix listed
argoproj Argo CD >= 2.3.0, < 2.3.6 2.3.6
argoproj Argo CD >= 2.4.0, < 2.4.5 2.4.5
linuxfoundation argo-cd >= 0.4.0, < 2.2.11 2.2.11

References