CVE-2022-24348 Path traversal and dereference of symlinks in Argo CD

High 7.7 Published Updated

Attackers can exploit directory traversal in Argo CD to discover sensitive credentials stored in YAML files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24348?

CVE-2022-24348 is a high-severity path traversal vulnerability in Argoproj Argo Cd, published on 4 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Argo CD before 2.1.9 and 2.2.x before 2.2.4 allows directory traversal related to Helm charts because of an error in helmTemplate in repository.go. For example, an attacker may be able to discover credentials stored in a YAML file.

Weakness: CWE-22

Which versions are affected by CVE-2022-24348?

8 open source packages ship an affected version, including github.com/argoproj/argo-cd/v2 and github.com/argoproj/argo-cd. It affects 1 product.

PackageAffectedFixed in
github.com/argoproj/argo-cd/v2 GoAll versions2.1.9, 2.2.4
github.com/argoproj/argo-cd/v2 GoAll versions2.1.9
github.com/argoproj/argo-cd/v2 GoAll versions2.1.9
github.com/argoproj/argo-cd/v2 GoFrom 2.2.02.2.4
github.com/argoproj/argo-cd/v2 GoFrom 2.2.02.2.4
github.com/argoproj/argo-cd GoAll versionsNone
2 more packages
github.com/argoproj/argo-cd GoAll versions2.1.9
github.com/argoproj/argo-cd GoAll versions2.1.9

Products include Argoproj Argo Cd.

How do I fix CVE-2022-24348?

Upgrade github.com/argoproj/argo-cd/v2 to a fixed version for your release line: 2.1.9 or 2.2.4.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-24348 being exploited?

There is no known exploitation of CVE-2022-24348 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Argoproj Argo Cd vulnerabilities

Sources

Also known as GHSA-63qx-x74g-jcr7, GO-2022-0304.

Is CVE-2022-24348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free