{"schemaVersion":3,"id":"CVE-2022-31105","aliases":["GHSA-7943-82jg-wmw5","GO-2022-0518"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-07-12T22:05:11.000Z","modified":"2025-04-23T18:02:44.544Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/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":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.1,"severity":"medium","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00808,"percentile":0.56157,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.023000000000000104,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00785},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00808,"percentile":0.56157}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00785,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00808,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00808,"percentile":0.56157}]},"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-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-599","name":"Missing Validation of OpenSSL Certificate","description":"The product uses OpenSSL and trusts or uses a certificate without using the SSL_get_verify_result() function to ensure that the certificate satisfies all necessary security requirements.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/599.html"}],"affected":[{"vendor":"argoproj","product":"argo_cd","name":"argo cd","label":"argo_cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.3.0, < 2.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.3.0, < 2.3.6 | ≥ 2.4.0, < 2.4.5","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":"argoproj","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.4.0, < 2.2.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.4.0, < 2.2.11 | ≥ 2.3.0, < 2.3.6 | ≥ 2.4.0, < 2.4.5","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.4.0, < 2.2.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, < 2.4.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.4.0","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 0.4.0, < 2.2.11 | ≥ 2.3.0, < 2.3.6 | ≥ 2.4.0, < 2.4.5 | ≥ 0.4.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.4.0, < 2.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.4.0, < 2.4.5","eol":null,"hubHref":null},{"vendor":"linuxfoundation","product":"argo-cd","name":"argo-cd","label":"argo-cd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.4.0, < 2.2.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.4.0, < 2.2.11","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-cd","label":"Argo CD","category":"server-app"}},"hubHref":"/vendor/linuxfoundation/argo-cd"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5","label":"github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.3.6","label":"github.com/argoproj/argo-cd/releases/tag/v2.3.6","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://github.com/argoproj/argo-cd/releases/tag/v2.4.5","label":"github.com/argoproj/argo-cd/releases/tag/v2.4.5","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31105","label":"nvd.nist.gov/vuln/detail/CVE-2022-31105","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-07-12T22:05:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T18:02:44.544Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:28:17.608Z","stale":false,"partial":false}}