Skip to content
Heist/ feed
Back to feed
High

Insecure entropy in argo-cd

Type: advisorySources: OSV

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v0.11.0 are vulnerable to a variety of attacks when an SSO login is initiated from the Argo CD CLI or UI. The vulnerabilities are due to the use of insufficiently random values in parameters in Oauth2/OIDC login flows. In each case, using a relatively-predictable (time-based) seed in a non-cryptographically-secure pseudo-random number generator made the parameter less random than required by the relevant spec or by general best practices. In some cases, using too short a value made the entropy even less sufficient. The attacks on login flows which are meant to be mitigated by these parameters are difficult to accomplish but can have a high impact potentially granting an attacker admin access to Argo CD. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. There are no known workarounds for this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-31034
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:08 UTC · Revision 1

Source evidence

Insecure entropy in argo-cd

core-osv · Original source

Published 27 Jun 2022, 19:00 UTC

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v0.11.0 are vulnerable to a variety of attacks when an SSO login is initiated from the Argo CD CLI or UI. The vulnerabilities are due to the use of insufficiently random values in parameters in Oauth2/OIDC login flows. In each case, using a relatively-predictable (time-based) seed in a non-cryptographically-secure pseudo-random number generator made the parameter less random than required by the relevant spec or by general best practices. In some cases, using too short a value made the entropy even less sufficient. The attacks on login flows which are meant to be mitigated by these parameters are difficult to accomplish but can have a high impact potentially granting an attacker admin access to Argo CD. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. There are no known workarounds for this vulnerability.

osv:CVE-2022-31034
Complete source record
{
  "id": "d08e3e519e99ddbbe170046071356823b20e826e10e6f3a8a9dd9ee1616bea50",
  "url": "https://osv.dev/vulnerability/CVE-2022-31034",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insecure entropy in argo-cd",
    "summary": "Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v0.11.0 are vulnerable to a variety of attacks when an SSO login is initiated from the Argo CD CLI or UI. The vulnerabilities are due to the use of insufficiently random values in parameters in Oauth2/OIDC login flows. In each case, using a relatively-predictable (time-based) seed in a non-cryptographically-secure pseudo-random number generator made the parameter less random than required by the relevant spec or by general best practices. In some cases, using too short a value made the entropy even less sufficient. The attacks on login flows which are meant to be mitigated by these parameters are difficult to accomplish but can have a high impact potentially granting an attacker admin access to Argo CD. Patches for this vulnerability has been released in the following Argo CD versions: v2.4.1, v2.3.5, v2.2.10 and v2.1.16. There are no known workarounds for this vulnerability.",
    "evidence": "osv:CVE-2022-31034",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-31034",
      "aliases": [
        "CVE-2022-31034",
        "GHSA-2m7h-86qq-fp4v",
        "GO-2022-0497"
      ],
      "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": "71b646dfaedfdbab9e83d314f1b76287561a18e1"
                },
                {
                  "fixed": "903db5fe464032bd5a10bf32fe17639e76634c2a"
                },
                {
                  "introduced": "38755a4c1e5232aa2e6f80c062593c9f07da0757"
                },
                {
                  "fixed": "17f7f4f462bdb233e1b9b36f67099f41052d8cb0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.11.0"
                      },
                      {
                        "fixed": "2.1.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_cd:2.2.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.9"
                      },
                      {
                        "last_affected": "2.2.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_cd:2.3.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.4"
                      },
                      {
                        "last_affected": "2.3.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:argoproj:argo_cd:2.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "last_affected": "2.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "17f7f4f462bdb233e1b9b36f67099f41052d8cb0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.9",
            "2.3.4",
            "2.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31034.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.518714185Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31034.json",
        "https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-31034",
        "https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-330"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31034.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-31034",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522076,
  "published_at": "2022-06-27T19:00:19+00:00"
}