Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/argoproj/argo-cd
  4. ›
  5. CVE-2022-31105

CVE-2022-31105: Improper Certificate Validation

July 12, 2022 (updated July 21, 2022)

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.

References

  • github.com/advisories/GHSA-7943-82jg-wmw5
  • github.com/argoproj/argo-cd/releases/tag/v2.3.6
  • github.com/argoproj/argo-cd/releases/tag/v2.4.5
  • github.com/argoproj/argo-cd/security/advisories/GHSA-7943-82jg-wmw5
  • nvd.nist.gov/vuln/detail/CVE-2022-31105

Code Behaviors & Features

Detect and mitigate CVE-2022-31105 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.4.0 before 2.2.11, all versions starting from 2.3.0 before 2.3.6, all versions starting from 2.4.0 before 2.4.5

Fixed versions

  • v2.2.11
  • v2.3.6
  • v2.4.5

Solution

Upgrade to versions 2.2.11, 2.3.6, 2.4.5 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

go/github.com/argoproj/argo-cd/CVE-2022-31105.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.