CVE-2022-24730: Path traversal and improper access control allows leaking out-of-bound files from Argo CD repo-server

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

Path traversal and improper access control 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-24730 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-24730 being exploited in the wild.
How severe is CVE-2022-24730?
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.3.0, SEMVER:introduced=1.3.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-24730?
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-24730?
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.3.0, SEMVER:introduced=1.3.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-24730
  • GHSA-r9cr-hvjj-496v
  • GO-2022-0357

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