CVE-2022-29165: GO-2022-0455 - Argo CD will blindly trust JWT claims if anonymous access is enabled in github.com/argoproj/argo-cd

CVE-2022-29165 · Severity: low · CVSS 3.1 · Published 2024-08-21

Argo CD will blindly trust JWT claims if anonymous access is enabled in github.com/argoproj/argo-cd

Technologies: github.com/argoproj/argo-cd (Go), github.com/argoproj/argo-cd/v2 (Go). Vendors: Go.

Quick answers

Is CVE-2022-29165 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-29165 being exploited in the wild.
How severe is CVE-2022-29165?
Low severity, with a CVSS score of 3.1, published 21 August 2024.
Which products and versions are affected?
github.com/argoproj/argo-cd (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.1.15; github.com/argoproj/argo-cd/v2 (Go) SEMVER:introduced=0,fixed=2.1.15,introduced=2.2.0,fixed=2.2.9,introduced=2.3.0,fixed=2.3.4, SEMVER:introduced=2.3.0,fixed=2.3.4.
Is there a fix for CVE-2022-29165?
Yes. github.com/argoproj/argo-cd (Go): upgrade to 2.1.15 or later; github.com/argoproj/argo-cd/v2 (Go): upgrade to 2.3.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-29165?
Check whether you run github.com/argoproj/argo-cd (Go) or github.com/argoproj/argo-cd/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/argoproj/argo-cd (Go): upgrade to 2.1.15 or later
    go get github.com/argoproj/argo-cd@v2.1.15
  • github.com/argoproj/argo-cd/v2 (Go): upgrade to 2.3.4 or later
    go get github.com/argoproj/argo-cd/v2@v2.3.4

Affected products

  • github.com/argoproj/argo-cd (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.1.15
  • github.com/argoproj/argo-cd/v2 (Go) SEMVER:introduced=0,fixed=2.1.15,introduced=2.2.0,fixed=2.2.9,introduced=2.3.0,fixed=2.3.4, SEMVER:introduced=2.3.0,fixed=2.3.4

Identifiers

  • CVE-2022-29165
  • GHSA-r642-gv9p-2wjj
  • GO-2022-0455

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.