{"schemaVersion":4,"id":"CVE-2022-31034","aliases":["GHSA-2m7h-86qq-fp4v","GO-2022-0497"],"status":"published","duplicateOf":null,"title":"Insecure entropy in argo-cd","description":"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.","dates":{"published":"2022-06-27T19:00:19.000Z","modified":"2025-04-23T18:08:15.653Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00979,"percentile":0.63404,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":0.015000000000000083,"baselineDate":"2026-11-05T00:00:00.000Z","baselineScore":0.00964},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00941,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00979,"percentile":0.63404}],"last30":[{"date":"2026-11-05T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0092,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00979,"percentile":null},{"date":"2026-12-05T00:00:00.000Z","score":0.00979,"percentile":0.63404}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-330","name":"Use of Insufficiently Random Values","description":"The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/330.html"},{"id":"CWE-331","name":"Insufficient Entropy","description":"The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/331.html"},{"id":"CWE-335","name":"Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)","description":"The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/335.html"}],"affected":[{"vendor":"argoproj","product":"argo_cd","name":"Argo CD","label":"argo_cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.11.0, < 2.1.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.11.0","startInclusive":true,"end":"2.1.16","endInclusive":false}},{"text":"2.2.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.2.9"}},{"text":"2.3.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.3.4"}},{"text":"2.4.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.4.0"}}],"versionsText":"≥ 0.11.0, < 2.1.16 | 2.2.9 | 2.3.4 | 2.4.0","eol":{"isEol":true,"eolDate":"2022-10-26T00:00:00.000Z","matchMethod":"name_exact","cycle":{"name":"2.2","label":"2.2","eolFrom":"2022-10-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"2.2.16"},"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo_cd"},{"vendor":"argoproj","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.11.0, < 2.1.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.11.0","startInclusive":true,"end":"2.1.16","endInclusive":false}},{"text":"≥ 2.2.0, < 2.2.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.2.10","endInclusive":false}},{"text":"≥ 2.3.0, < 2.3.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.3.0","startInclusive":true,"end":"2.3.5","endInclusive":false}},{"text":"≥ 2.4.0, < 2.4.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.4.0","startInclusive":true,"end":"2.4.1","endInclusive":false}}],"versionsText":"≥ 0.11.0, < 2.1.16 | ≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.5 | ≥ 2.4.0, < 2.4.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/argoproj/argo-cd"},{"vendor":"github.com/argoproj","product":"argo-cd","name":"github.com/argoproj/argo-cd","label":"argo-cd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd","purlType":"golang","versions":[{"text":"≥ 0.11.0, < 2.1.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.11.0","startInclusive":true,"end":"2.1.16","endInclusive":false}},{"text":"≥ 0.11.0","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"range","start":"0.11.0","startInclusive":true,"end":null,"endInclusive":false}}],"versionsText":"≥ 0.11.0, < 2.1.16 | ≥ 0.11.0 (No fix recorded)","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":null},{"vendor":"github.com/argoproj/argo-cd","product":"v2","name":"github.com/argoproj/argo-cd/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/argoproj/argo-cd/v2","purlType":"golang","versions":[{"text":"< 2.1.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.16","endInclusive":false}},{"text":"≥ 2.2.0, < 2.2.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.2.0","startInclusive":true,"end":"2.2.10","endInclusive":false}},{"text":"≥ 2.3.0, < 2.3.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.3.0","startInclusive":true,"end":"2.3.5","endInclusive":false}},{"text":"≥ 2.4.0, < 2.4.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.4.0","startInclusive":true,"end":"2.4.1","endInclusive":false}}],"versionsText":"< 2.1.16 | ≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.5 | ≥ 2.4.0, < 2.4.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v","label":"github.com/argoproj/argo-cd/security/advisories/GHSA-2m7h-86qq-fp4v","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0","label":"github.com/argoproj/argo-cd/commit/17f7f4f462bdb233e1b9b36f67099f41052d8cb0","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31034","label":"nvd.nist.gov/vuln/detail/CVE-2022-31034","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/argoproj/argo-cd","label":"github.com/argoproj/argo-cd","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-06-27T19:00:19.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:08:15.653Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,83],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00979,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-04-23T18:08:15.653Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_go","date":"2025-04-23T18:08:15.653Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-04-23T18:08:15.653Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-04-23T18:08:15.653Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},{"type":"adp","source":"cisa-adp","date":"2025-04-23T15:52:01.774Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00979,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T13:01:25.582Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T13:01:26.078Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T13:01:07.092Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T13:01:23.911Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T13:01:22.884Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T14:06:56.987Z","stale":false,"partial":false}}