{"id":"CVE-2022-31034","published":"2022-06-27T19:00:19Z","modified":"2025-04-23T18:08:15Z","title":"Insecure entropy in argo-cd","vendor":"argoproj","product":"argo-cd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00979,"percentile":0.63043,"provenance":"source"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":12.61},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"argoproj","affectedVersions":[{"vendor":"argoproj","product":"argo-cd","versions":[">= 0.11.0, < 2.1.16",">= 2.2.0, < 2.2.10",">= 2.3.0, < 2.3.5",">= 2.4.0, < 2.4.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:52:01.774975Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/argoproj/argo-cd","vulnerableRanges":[">=0.11.0, <2.1.16",">=0.11.0"],"patched":["2.1.16"],"from":["GHSA-2m7h-86qq-fp4v","GO-2022-0497"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","vulnerableRanges":["<2.1.16",">=2.2.0, <2.2.10",">=2.3.0, <2.3.5",">=2.4.0, <2.4.1"],"patched":["2.1.16","2.2.10","2.3.5","2.4.1"],"from":["GHSA-2m7h-86qq-fp4v","GO-2022-0497"],"provenance":"source"}],"summary":{"text":"Argo CD, the GitOps continuous delivery tool for Kubernetes, contains insecure entropy in its OAuth2/OIDC SSO login flows, where parameters are generated from a predictable time-based seed in a non-cryptographic random number generator (and in some cases are too short). An attacker can exploit this against login flows initiated from the Argo CD CLI or UI, which requires network access, no prior authentication, and user interaction, and the attack is difficult to carry out but can potentially grant admin access to Argo CD.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:53Z"},"euvd":{"id":"EUVD-2022-5894","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-argoproj-argo-cd-cve-2022-31034","children":[{"from":"CVE-2022-31034","to":"CVE-2022-31102","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["util/oidc/oidc.go"],"commits":["https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0","https://github.com/argoproj/argo-cd/commit/3800a1e49d1d5a00a6692fee83396a37a6abe89a","https://github.com/argoproj/argo-cd/commit/8d5119b1e3038a2c1d8b651cb242525e9e734c4c"],"basis":"rarely changed file"}]}]}}