Vulnerability · Published Jul 12, 2022 · Assigned by GitHub_M

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

High 8.3

In plain English

A high-severity improper certificate validation in argo-cd from argoproj. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)0.8%top 43.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/argoproj/argo-cd2.2.11GHSA-7943-82jg-wmw5
Gogithub.com/argoproj/argo-cd2.3.6GHSA-7943-82jg-wmw5
Gogithub.com/argoproj/argo-cd2.4.5GHSA-7943-82jg-wmw5
Gogithub.com/argoproj/argo-cdno fix listedGO-2022-0518
Gogithub.com/argoproj/argo-cd/v22.2.11, 2.3.6, 2.4.5GO-2022-0518

Affected products (as reported)

VendorProductVersions
argoproj argo-cd >= 0.4.0, < 2.2.11>= 2.3.0, < 2.3.6>= 2.4.0, < 2.4.5

Weakness: CWE-295, CWE-599 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

References