CVE-2022-24731: GO-2022-0358 - Path traversal allows leaking out-of-bound files from Argo CD repo-server in github.com/argoproj/argo-cd

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

Path traversal allows leaking out-of-bound files from Argo CD repo-server 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-24731 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-24731 being exploited in the wild.
How severe is CVE-2022-24731?
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=1.5.0, SEMVER:introduced=1.5.0,fixed=2.1.11; github.com/argoproj/argo-cd/v2 (Go) SEMVER:introduced=0,fixed=2.1.11,introduced=2.2.0,fixed=2.2.6,introduced=2.3.0-rc1,fixed=2.3.0.
Is there a fix for CVE-2022-24731?
Yes. github.com/argoproj/argo-cd (Go): upgrade to 2.1.11 or later; github.com/argoproj/argo-cd/v2 (Go): upgrade to 2.3.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-24731?
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.11 or later
    go get github.com/argoproj/argo-cd@v2.1.11
  • github.com/argoproj/argo-cd/v2 (Go): upgrade to 2.3.0 or later
    go get github.com/argoproj/argo-cd/v2@v2.3.0

Affected products

  • github.com/argoproj/argo-cd (Go) SEMVER:introduced=1.5.0, SEMVER:introduced=1.5.0,fixed=2.1.11
  • github.com/argoproj/argo-cd/v2 (Go) SEMVER:introduced=0,fixed=2.1.11,introduced=2.2.0,fixed=2.2.6,introduced=2.3.0-rc1,fixed=2.3.0

Identifiers

  • CVE-2022-24731
  • GHSA-h6h5-6fmq-rh28
  • GO-2022-0358

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