Skip to content
Heist/ feed
Back to feed
High

Argo CD's certificate verification is skipped for connections to OIDC providers

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31105
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:37 UTC · Revision 1

Source evidence

Argo CD's certificate verification is skipped for connections to OIDC providers

core-osv · Original source

Published 12 Jul 2022, 22:05 UTC

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.

osv:CVE-2022-31105
Complete source record
{
  "id": "c3f8a6a6f48f8ae9a6a83bb0726bb7433e6da7210805ebb27e06de444338bddd",
  "url": "https://osv.dev/vulnerability/CVE-2022-31105",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Argo CD's certificate verification is skipped for connections to OIDC providers",
    "summary": "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.",
    "evidence": "osv:CVE-2022-31105",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-31105",
      "aliases": [
        "CVE-2022-31105",
        "GHSA-7943-82jg-wmw5",
        "GO-2022-0518"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/argoproj/argo-cd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fe427802293b090f43f91f5839393174df6c3b3a"
                },
                {
                  "fixed": "0badce7840e3fdb9f6d94e13488bec358fd0472d"
                },
                {
                  "introduced": "91aefabc5b213a258ddcfe04b8e69bb4a2dd2566"
                },
                {
                  "fixed": "0232073ccffa0348f633a8a1fce0b55c3a56a688"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "fixed": "2.4.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0badce7840e3fdb9f6d94e13488bec358fd0472d"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.3.6"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0232073ccffa0348f633a8a1fce0b55c3a56a688"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.4.5"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.4.4",
            "v2.4.3",
            "v2.3.5",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.4",
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31105.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.150154153Z",
      "provider": "osv",
      "references": [
        "https://github.com/argoproj/argo-cd/releases/tag/v2.3.6",
        "https://github.com/argoproj/argo-cd/releases/tag/v2.4.5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31105.json",
        "https://github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31105"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-295",
          "CWE-599"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31105.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31105",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514341,
  "published_at": "2022-07-12T22:05:11+00:00"
}